Posted on: 5/10/2013 8:10:48 PM | Views : 204

I have an aspx page and two usercontrols (asc). The aspx page calls usercontrol-1 that has a formview and databound fields. Usercontrol-1 also calls usercontrol-2. Inside usercontrol-2 I have a modalpopup and an event on OnSelectedIndexChanged of a Listview. However, the OnSelectedIndexChanged does not fire.  Usercontrol-2 is used in other aspx pages but not in nested ascx usercontrols just right from the aspx and it works fine.
I loaded the controls dynamically but have also tried loading them directly with the same effect. I know ascx's are recreated after postbacks and as long as I have the ascx placed in the aspx it works fine, just not when its nested.
Any help would be appreciates.
Go to the complete details ...