Posted on: 10/24/2013 4:59:52 AM | Views : 688

Hi All,

I am facing an issue while registering usercontrols during postback.
I have 3 usercontrols UserControlA, UserControlB, UserControlC. I have 3 button controls ButtonA, ButtonB, ButtonC. Each usercontrol performs a diffrent operations and it is being loaded dynamically each time it is called. I have found that, it is required that each dynamic usercontrol needs to registered on every postback . So i m trying to load the usercontrols in (page.IsPostback). 

I want to load UserControlA on ButtonA Click and UserControlB on ButtonB Click and so on.
But right now since I am loading the usercontrols on postback, all usercontrols are getting loaded. at the same time.
How can i avoid this? Please guide on this. 
Your help is appreciated.


Go to the complete details ...