Error when add record in TreeList

3 posts, 0 answers
  1. Henry John
    Henry John avatar
    8 posts
    Member since:
    Apr 2010

    Posted 06 Jul 2011 Link to this post

    When i click add button in Header of TreeList i will show form template to add record, after that i click add button in item template it's also show form template to add record. I put blank in textbox afterthat I click save asp validate catch blank text in two form template.Anybody help me how to prevent show form template twice. I have attachment for that scenario. Thanks
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 11 Jul 2011 Link to this post

    Hi Henry John,

    The described behaviour is by design and there is no built in mechanism for avoiding this functionality. Currently possible workaround for you could be to add the validation function depending on the item level, This way you could partially validate the controls in edit form. please see the following demo for more information on this matter:
    http://demos.telerik.com/aspnet-ajax/treelist/examples/dataediting/validation/defaultcs.aspx

    Best wishes,
    Maria Ilieva
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Henry John
    Henry John avatar
    8 posts
    Member since:
    Apr 2010

    Posted 12 Jul 2011 Link to this post

    Thanks
Back to Top