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.

setting empty value or whitespace to numerictextbox and maxvalue of numerictextbox from javascript.

Thread ID:





107258 Feb 21,2013 12:08 PM Feb 22,2013 05:57 AM ASP.NET MVC (Classic) 1
Tags: Tools
Asked On February 21, 2013 12:08 PM

How we can set whitespace or empty value.?
How we can set max value of numerictextbox from javascript,
Thanks in advance.

Varalakshmi R.S [Syncfusion]
Replied On February 22, 2013 05:57 AM

Hi Devendar,


Thanks for contacting Syncfusion forums.


Query: How we can set whitespace or empty value.?

This can be achieved by assigning null value to the control using “Value(null)” or using its client side API “setValue()”. Assigning “Null” value to the NumericTextBox is supported only from v10.3. So, could you please upgrade to latest Essential Studio release volume1, 2013 if your version is below v10.3 or kindly create an incident if you would require patch for this in your specific version.



@Html.Syncfusion().NumericTextBox("num1”) .Value(null)





$find("num1").setValue(null);// num1 is control id



Query: How we can set max value of numerictextbox from javascript

Client side API method “set_maxValue” can be used to achieve this functionality.






Kindly try the solution and let us know if it helps.





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.