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. Image for the cookie policy date

MVC NumericTextBoxFor

I'm curious if anyone has had any luck making this control work.  I've tried numerous different things and the control simply doesn't work. 
If I place this in my cshtml.


I get a JScript error: Unable to get value of the property _events

This works fine in the same file and even the exact same place, but it makes the code a bit messy on the controller side because the parameter has to be passed seperately






Also, why isn't there a dropdownfor like this in Kendo

@(Html.Kendo().DropDownListFor(m => m.SubAssembly.Location)



4 Replies

VR Varalakshmi R.S Syncfusion Team September 5, 2013 05:07 AM UTC

Hi Kevin Nichols,


Thanks for contacting Syncfusion forum.


We are afraid that we are unable to reproduce the issue reported by you. We have prepared a simple sample using the code snippet given by you and the NumericTextBoxFor control works fine as expected. Please check the sample available in the following link and test it in your environment,



We are proving “GenericDropDown” control which can embed other elements—such as check boxes, radio buttons, text boxes, images, links, and so on—into a drop-down container. This is different from a traditional drop-down control, which accommodates only a list of text.


You may refer the below given online sample link and UG link for more details,

Online sample link: http://mvc.syncfusion.com/demos/ui/tools/GenericDropDown/ThroughView

UG link: http://help.syncfusion.com/ug/asp.net%20mvc/tools/documents/genericdropdown.htm


Kindly refer the above given links and let us know if you require further assistance on this.




KN Kevin Nichols September 5, 2013 12:42 PM UTC

Those samples do not appear to be using NumericTextBoxFor, only NumericTextBox which works fine. 
Perhaps I just don't understand how your controls work since I can't seem to get any HTML helper with "For" to work.  The datetimepicker is the same. 
I assume it should work the same as the default MVC HTML helper functions...
Same issue.
This works: 


This renders only text box:

@(Html.Syncfusion().DatePickerFor(m => m.MoveTicket.StartDate))

KN Kevin Nichols September 6, 2013 01:28 AM UTC

I ended up getting the datepickerfor and labelfor to work.  Numeric doesn't work even copied from the sample file you provided.  I did look for other posts and it was stated that this is a known issue with the current version...  I'm using 

SP Sunil Prabakar C Syncfusion Team September 17, 2013 02:32 AM UTC

Hi Kevin,


We regret for the inconvenience caused.


The “Issue with NumericTextBoxFor” issue is a known issue in v11.2 and it has been fixed in our latest release version v11.3.0.30. So could you please let us know whether you are interested in upgrading to our latest version or would require patch in your specific version? Our latest version is available in the following link.




If you require patch for your specific version, Please create a DT incident for your query so that we can update you accordingly.


You can create the DT incident from the following link.




In the interests of maintaining confidentiality, we have a policy of not sharing proprietary customer specific information in the public Forum.


Kindly let us know, if you have any other queries.



Sunil Prabakar C

Live Chat Icon For mobile
Up arrow icon