Block life-cycle of RadGrid

2 posts, 0 answers
  1. lupotana
    lupotana avatar
    73 posts
    Member since:
    Nov 2006

    Posted 21 Nov 2011 Link to this post

    Hi, I dinamically generate many controls in TemplateColumn of RadGrid in  ItemCreated event.
    But in every postback my object were destroy.

    Can I block the life cycle of RadGrid (PreInit,Load,etc. etc.) for have a static radgrid ?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 21 Nov 2011 Link to this post

    Hello Marco,

    I cannot reproduce the issue at my end. Normally ItemCreated event is the appropriate one to create controls dynamically. Make sure that you are using Advanced databinding using NeedDataSource event. Also check the following help documentation which explains event sequence in detail. Please elaborate your scenario if it doesn't help.
    Event sequence

  3. DevCraft R3 2016 release webinar banner
Back to Top