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.

MVC NumericTextBoxFor

Thread ID:

Created:

Updated:

Platform:

Replies:

111032 Sep 4,2013 01:24 PM Sep 16,2013 10:32 PM ASP.NET MVC (Classic) 4
loading
Tags: Tools
Kevin Nichols
Asked On September 4, 2013 01:24 PM

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.

@(Html.Syncfusion().NumericTextBoxFor(model=>model.Test).Value(1))

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

@(Html.Syncfusion().NumericTextBox(

"SubAssembly_Quantity")

.Value(Model.SubAssembly.Quantity)

.Width(203))

 

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

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

.BindTo(Model.SubAssembly.Locations))

 


Varalakshmi R.S [Syncfusion]
Replied On September 5, 2013 01:07 AM

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,

NumericTextBoxFor.zip

 

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.

 

Regards,

Varalakshmi


Kevin Nichols
Replied On September 5, 2013 08:42 AM

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: 

@(Html.Syncfusion().DatePicker("MoveTicket_EndDate"))

 
 
This renders only text box:
 

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


Kevin Nichols
Replied On September 5, 2013 09:28 PM

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 11.2.0.25 

Sunil Prabakar C [Syncfusion]
Replied On September 16, 2013 10:32 PM

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.

 

http://www.syncfusion.com/downloads/latest-version

 

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.

 

http://www.syncfusion.com/account/dashboard

 

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.

 

Regards

Sunil Prabakar C


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.

;