|
-
Jun 1st, 2004, 03:38 AM
#1
Thread Starter
Hyperactive Member
Dynamically-created-controls Event firing problem
Hey,
I create controls (Texboxes and Buttons) dynamically from DB in Page Load.
In every postback these controls are recreated which isn't needed for me.
So I put my controls creating code in "If Page.IsPostBack = False Then"
Now controls isn't created after I press button and postback is called, but now I lose event of that button and nothing happens.
I'm creating dynamic registration from and after button is clicked it should not recreate controls again, but write "Saved" etc.
How to fire event before button handler is lost?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|