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
close icon

Html.EJ().NumericTextBoxFor render problem

Hello,

I'm trying to render numeric input field in such manner:

@Html.EJ().NumericTextBoxFor(modelItem => Model.Id).MinValue(0).Value(Model.Id)

Unfortunately, I'm receiving text "Syncfusion.JavaScript.EditorPropertiesBuilder" on page. 
I've got the same issue with @Html.EJ().DatePicker("MyFirstDatepicker").  Application displays label Syncfusion.JavaScript.DatePickerPropertiesBuilder.

When I'm using tag helper <ej-date-picker id="datepicker" value="@DateTime.Now"></ej-date-picker> EJ works perfectly fine. 

How to resolve my issue? 
I'm using latest version: "Syncfusion.EJ.AspNet.Core": "15.1600.0.33"

Best regards

Pawel.





 

1 Reply

AB Ashokkumar Balasubramanian Syncfusion Team February 27, 2017 12:47 PM UTC

Hi Pawel, 
 
Thanks for contacting Syncfusion support. 
 
We have analyzed your problem (“Html.EJ().NumericTextBoxFor render problem”).We suspect that you have missed the below syntax in your application.  
 
Please check the below code. 
 
[View] 
 
    @{Html.EJ().NumericTextBoxFor(model => model.value).Render();} 
 
 
 
Note: Please ensure scripts are rendered properly. 
 
For your convenience, we have prepared simple sample, it can be downloaded in below location. 
 
 
Please let us know, if you have any other concerns. 
 
Regards,  
Ashokkumar B. 


Loader.
Live Chat Icon For mobile
Up arrow icon