Get parent columns data while creating child on editformtemplate

2 posts, 0 answers
  1. Sapan
    Sapan avatar
    1 posts
    Member since:
    Jan 2015

    Posted 28 Jun Link to this post


    I am using treelist to show heirachical data. 

    Both parent and child are stored in same table 

    Sample tables: 


    1. id 
    2. parent id 
    3. category id (drop down on editformtemplate)
    4. description

    When I am creating a child, the parent category id needs to be shown on edit form template

    and when a new parent is being created it should allow user to select the value.

    I am using hybrid approach of automatic CRUD operation and using formtemplate

    Can this be done?




  2. Viktor Tachev
    Viktor Tachev avatar
    1438 posts

    Posted 01 Jul Link to this post

    Hello Swapnil,

    Note that in order to use automatic operations the TreeList must be bound to a declarative DataSource control. Moreover the data source should support such operations and they need to be configured.

    In case you need to implement a more complex scenario with templates it is recommended to update the data source manually.

    Viktor Tachev
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
Back to Top