HI!
It is third day I have been struggling with buttons, which at first click send data to database, but only after second click this data displays on the webpage.
I have been searching for solution from internet, but without result.
I am using AJAX UpdatePanels now. Update panels are able to update and instantly display changed data, which is not coming from database, after first click on button.
On my update panel I add TextBoxes and Buttons dynamically, as well as ID-s and events and other relevant stuff. Clicking on button sends data stored in TextBoxes to the database and I want these changes to display in webpage instantly. But it happens only after second click.
Is here anyone who knows why Asp.Net is acting this way?
Clicking on button does not take effect after first click, but only after second click
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Suthish NairRank #92 · 22.8K reputationPosted Jul 17, 2011, 11:55 AM EDT
maika paika24 reputationPosted Jul 16, 2011, 6:17 AM EDT
maika paika24 reputationPosted Jul 18, 2011, 12:22 PM EDT
:)