The dynamic control generation is always done by the help of 'createchildcontrols' function. Here we must handle the postback event to avoid the creation of control at each and every time. For that in asp we use
if(!ispostback)
like that here
we use
if(!page.ispostback)
Thursday, 7 July 2011
How to Handle PostBack event in Sharepont 2010 C# webpart
Comment (1)

Sort by: Date Rating Last Activity
Loading comments...
Comments by IntenseDebate
Posting anonymously.
Labels:
Webpart Development
zainsaeed · 208 weeks ago