View Single Post
  #3 (permalink)  
Old May 22nd, 2010, 03:29 PM
Gayathri79 Gayathri79 is offline
Authorized User
 
Join Date: Mar 2010
Posts: 65
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Even if i move the code to seperate method and call it, anyway if i click the Button, it goes to page_load first before it goes to click event or any other method.

In page_load i am calling other functions, which i dont want to execute if the Button is clicked. And thats the reason i want to check it from Page_load if Button is clicked, if it does then i dont want to call the function, otherwise that function is called.