Articles in this section
Category / Section

How to use asp.TextBox with rounded corner in JavaScript MaskEdit?

1 min read

How to render ASP text box to Syncfusion MaskEdit text box with rounded corner

 

You can render the ASP text box to Syncfusion MaskEdit text box with CSS customization.

 

For setting rounded corners in ASP text box, you can add the CSS class “e-corner e-js” as shown below. 

 

<asp:TextBox ID="text1" runat="server" Width="100%" CssClass="e-corner e-js" ></asp:TextBox> 

 

Note:

This will be applied when the ej.web.all.min.css stylesheet is referred in sample.

 

To display the ASP text box exactly like ejMaskEdit, you can add the following styles for text box along with e-corner class mentioned above.

 

<style type="text/css" class="cssStyles"> 
       
       #MainContent_text1
        {
            font-size: 13px; 
            border: 1px solid #c8c8c8; 
            padding-left: 0.857em; 
            min-width: 400px; 
 
        }
</style> 

 

Now, the ASP text box is rendered as Syncfusion Text box.

 

Refer to the following link for the sample.

 

https://www.syncfusion.com/downloads/support/directtrac/general/ze/maskedit-76500414.zip

 

 

Conclusion

I hope you enjoyed learning on how to use asp.TextBox as Syncfusion Textbox with rounded corner.

You can refer to our JavaScript MaskEdit feature tour page to know about its other groundbreaking feature representations. You can also explore our documentation to understand how to present and manipulate data.

For current customers, you can check out our WinForms components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our JavaScript MaskEdit and other JavaScript components.

If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied