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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

model bind Control

Thread ID:





132582 Sep 10,2017 02:54 PM UTC Sep 11,2017 11:35 AM UTC ASP.NET Core 1
Tags: Rating
karen anderson
Asked On September 10, 2017 02:54 PM UTC

<ej-rating id="Rating" read-only="false" ej-for="@Model.Feedback.Rating" value="@Model.Feedback.Rating"/>

How do I model bind this control?  ej-for is not an option in intellisense and renders as red when used.



Keerthana Rajendran [Syncfusion]
Replied On September 11, 2017 11:35 AM UTC

Hi Karen,   
Thank you for contacting Syncfusion support.   
Currently, we don’t have ej-for support for Rating control but we can model bind the value through value property as shown below   
<ej-rating id="Rating" read-only="false" value="@Model.value"/>   
public class Rating   
    {  public int value { getset; }  }   
public IActionResult Index()   
            Rating model = new Rating();   
            model.value = 4;   
            return View(model);   
We have attached sample for your reference.   


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon