UserControl shows ispostback=true always
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
We have a parent page which has got two usercontrols usercontrol1 and usercontrol2. Initially usercontrol1 will be visible=true and usercontrol2 will be visible=false. On click of a button in usercontrol1, usercontrol2 is made visible. During button click, both the controls page load shows ispostback as true. But after making the usercontrol2 visible, the page loads for the second time(both in parent page and usercontrol2), and the ispostback returns false. Please suggest.