# Model Binding

When using the Telerik UI for ASP.NET MVC Rating component, you can bind the value to an arbitrary model property by using the `RatingFor` Helper.

```C# Controller
    public ActionResult Index()
    {
        var model = new RatingModel 
        {
            Rating = 7
        };

        return View(model);
    }
```

```C# Model
    public class RatingModel
    {
        public int Rating { get; set; }
    }
```

```Razor HtmlHelper
    @model RatingModel

    @(Html.Kendo().RatingFor(model => model.Rating))
```

## See Also

* [Server-Side API](https://www.telerik.com/aspnet-mvc/documentation/api/rating)
