This is a migrated thread and some comments may be shown as answers.

Block life-cycle of RadGrid

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
lupotana
Top achievements
Rank 1
lupotana asked on 21 Nov 2011, 09:53 AM
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 ?

Thanks,
Marco

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 21 Nov 2011, 10:03 AM
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

-Princy.
Tags
Grid
Asked by
lupotana
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or