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.

Html.EJ().NumericTextBoxFor render problem

Thread ID:

Created:

Updated:

Platform:

Replies:

129089 Feb 25,2017 04:02 PM Feb 27,2017 07:59 AM ASP.NET Core 1
loading
Tags: NumericTextbox
Pawel
Asked On February 25, 2017 04:02 PM

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.





 

Ashokkumar Balasubramanian [Syncfusion]
Replied On February 27, 2017 07:47 AM

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. 


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.

;