Grid with bound Slider bars

2 posts, 0 answers
  1. Brendan
    Brendan avatar
    1 posts
    Member since:
    Jan 2016

    Posted 11 Mar Link to this post

    Hello,

    I'm trying to develop an application with 3 columns in one Kendo grid, all in ASP.Net MVC. I want 1 column that's just a string, one column that's a slider bar bound to a property in my model, and then a textbox that's uneditable that displays the current value of the slider bar. Since the slider bar would be bound to a property in the model, I think I can just bind this textbox to the same property and make it uneditable.

    I'm able to do all of this outside of a grid, however I can't figure out how to get the slider bar to function correctly in a grid. Any help or advice on how to do this would be much appreciated.

    Thanks in advance!

  2. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 14 Mar Link to this post

    Hi Darendal,

    You can handle the Edit event to initialize the slider. See this stack overflow thread for an example:
    http://stackoverflow.com/questions/24150908/kendo-ui-using-slider-with-a-template

    Regards,
    Vasil
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top