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.
Up arrow icon