Create Column Editor different controls, depending on row data

2 posts, 0 answers
  1. Mateusz
    Mateusz avatar
    14 posts
    Member since:
    Aug 2012

    Posted 06 Sep 2012 Link to this post

    I want to achieve such scenario.
    I`m invoking CreateColumnEditor and want it to show different edit controls, depending on actually editable rows control(data inside the control).

    Any ideas to get me going? Some small code sample?
  2. Marin
    Marin avatar
    1038 posts

    Posted 11 Sep 2012 Link to this post


     The column editors are predefined depending on the type of column that you use. If you need to have custom controls in the column editor then it is recommended to use the TreeListTemplateColumn and define the control in its EditItemTemplate.
    Also have in mind that the columns in the treelist support only one column editor and cannot render different controls for each row unless you manually hide or show specific controls in the template.

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top