Hi,
I dont like the whole page does postback every time a new page is loaded. So my idea is to place a PlaceHolder in an updatePanel. There are another buttons in the the UpdatePanel as well to change the user controls of the PlaceHolder.
The problem is that all buttons or events on the user control inside the PlaceHolder, that only work from the second time (do not work at the first time click). REALLY STRANGE!!!
At this moment, I have an idea to add a counter for every user control inside the Page_Load to raise the event until the second time then stop this raising...
But I dont think this is a good solution... Therefore I really kindly ask your help....
I dont know whether my implementation to reduce postback for the whole page using PlaceHolder inside an UpdatePanel will always cause this problem or faulty of Asp.net... or maybe there is a solution to fix my problem...?
Any help? I am very appreciated!
Thanks in advance.
Go to the complete details ...