Grid with a template column with addition of Dropdowns with a button click

2 posts, 0 answers
  1. The
    The avatar
    1 posts
    Member since:
    Feb 2016

    Posted 18 Feb 2016 Link to this post

    I have to create a grid where one of the columns will be a template column which will hold a Drop down and +/X button. On Clicking of + user can add as many dropdowns as they want and X will delete them in a single row and this data will be saved back to DB.

    I know i will have create a grid in Page_init and use ITemplate to create this. every row will be uniquely identified by a value and i need to access that value inside the ITemplate to store the data back to DB to keep track of how many dropdowns have been added so that on page refresh i can load them back in. Is it possible? I tried but i cannot access the data inside the ITemplate->InstantiateIn method since data bound has not happened yet. 

    Any example?


    - The Aqua

  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 23 Feb 2016 Link to this post


    The required functionality is a custom scenario that is not supported out of the box for the RadGrid controls. I would suggest you to revise the online topics below that can help in implementing this functionality on your side:

    You can access the controls form the template in the PreRender event.

    Maria Ilieva
    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
Back to Top