Control goed into edit mode after second click

2 posts, 0 answers
  1. marc
    marc avatar
    1 posts
    Member since:
    Oct 2010

    Posted 27 Oct 2010 Link to this post

    In my ListView control I have created a couple of buttons to edit/insert items. To go into edit mode or insert mode I have to click the button twice. The events are fired correctly however only with the second click resp the EditItemTemplate or the InsertItemTemplate is loaded.

    What could be reason for this behavior?

    Found a similar post: click control twice. This is similar to my issue. I do not use a datasource on the page however I set the datasource at page load.

  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 28 Oct 2010 Link to this post


    Please note that as the ListView control uses templates the structure needs to be created in the PageInit event handler. Please try setting it in PageInit instead of PageLoad and verifying if this makes any difference.

    Sincerely yours,
    Maria Ilieva
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top