We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to create simple text input field

Thread ID:

Created:

Updated:

Platform:

Replies:

124103 May 17,2016 10:26 AM May 19,2016 01:41 AM ASP.NET MVC 3
loading
Tags: MaskEditTextbox
Tom Frajer
Asked On May 17, 2016 10:26 AM

Im wondering what UI component I can use for just a simple text input field (such as login name field). You have MaskEditTextBox, NumericTextBox, CurrencyTextBox, PercentageTextBox...

But there is no simple TextBox?

Deepa Loganathan [Syncfusion]
Replied On May 18, 2016 07:43 AM

Hi Tom,    
  
Sorry for the inconvenience.  
   
We do not have a separate Helper for rendering a normal Textbox. However, we have given Themes support to achieve standard Syncfusion like textbox in appearance. In that case, we suggest you to add ‘e-textbox’ class to Textbox Html Helper.   
  
Please use the code snippet provided below   
   
@Html.TextBox("username", null, new { @class = "e-textbox" })   
<style> 
    .e-textbox { 
        box-sizing: border-box; 
    } 
</style> 
   
 
    
Please let us know if you have any further queries.   
  
Regards,    
Deepa L.   


Tom Frajer
Replied On May 18, 2016 08:42 AM

It works. Thank you very much.

Deepa Loganathan [Syncfusion]
Replied On May 19, 2016 01:41 AM

Hi Tom,    
  
Thanks for the update.     
    
We are glad to know the issue has been resolved at your end.     
  
Please let us know if you need any further assistance.     
     
Regards,      
Deepa L.  


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;