RadTreeListView with combobox

4 posts, 0 answers
  1. Mark
    Mark avatar
    8 posts
    Member since:
    Nov 2010

    Posted 08 Feb 2011 Link to this post

    I used RadTreeListView to view my data in a tree concept. 
    I want to set one of my column to have combobox when the cell is selected.

    Can this be done on the control?

    Please send me example code

    Thank you in advance

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 08 Feb 2011 Link to this post

    Hello,

     You can define desired control in desired column CellTemplate. 

    Kind regards,
    Vlad
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
  4. Mark
    Mark avatar
    8 posts
    Member since:
    Nov 2010

    Posted 08 Feb 2011 Link to this post

    Hi

    Thank you. It works to have combobox on the cell column using celltemplate.


    However, I do not know how am I going to do to make the combobox visible when cell is selected otherwise textblock when not selected

    Can you give me example code?
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 08 Feb 2011 Link to this post

    Hello,

     In this case you should use CellEditTemplate to define the combo and CellTemplate to define the TextBlock. 

    Regards,
    Vlad
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top