Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jul 29, 2012 03:58 PM by Ajay2707
Jul 29, 2012 03:30 PM|LINK
I have a list, thats built based on some files, when the page builds up.
There is a save button next to each other.
Its pretty straightforward at this point..
Works great as long as the file-list remains the same.
The problem is, these files sometimes get deleted in the background, and whenever I press one of the save buttons,
- it first rebuilds the whole page
- then runs the button's code
This is a never-ending problem to me occasionally, since I came from the WinForms world, and i just would like to run the code, without causing a whole page-rebuild..
Jul 29, 2012 03:58 PM|LINK
As you new in this part. I give suggestion that all the code which you need to at the first time of page load.
use IsPostBack Property of page, Which solve the problem of postback.