Click here to Skip to main content
16,017,650 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends.
I am having a registration.aspx page and
multiple Usercontrol that i am using at the time of User Registration.
Each UserControl Contain Some TextBox and Next Button.Next butoon have a
Button_Click Event, Which will be used for load the Next UserControl in to the
PlaceHolder of registration.aspx

If Anybody have any idea regarding it, please provide a Solution.
Your help is Appriciable.
Posted

1 solution

Hi,

Actually problem is with postback. Please check if you have created your userControl in PageLoad ? if not then you need to create your control in page load event.

When your page is postback, control lost it's event and other information. so you need to place dynamic control in PageLoad event.

hope this information will help you,

thanks
-Amit
 
Share this answer
 
Comments
rakesh pattajoshi 25-Feb-12 5:28am    
Please guide me how can i place dynamic contol in pageload event.
AmitGajjar 26-Feb-12 23:24pm    
please see this link

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900