simple question really - page load and events
folks -
My simple question is this. Lets say i have a form (asp.net) containing a asp:button. User presses the button, and creates a file on a directory on the server . Obviously the action takes place within the button click handler (a createFile function is called from here). Why oh why oh why does the file get created when the button is pressed AND each time the page refreshes/reloads??
It's like the buttonclick event is raised twice or something. Once when the page loads and once when the user (legitimately) creates the file through the button click...hmmmm!
cheers for your thoughts...