cancel button click event??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sambansi
    New Member
    • Apr 2007
    • 2

    cancel button click event??

    Hi All,

    on my web page i have button control and as per application's requirement i can't disable that. but when user clicked on it, the code should first check whether i am authorided user or not? if not then it should not execute the remaining code.

    i can slove this by simple putting if condition. but i want make use of button click event parameter (object and system.eventArg s). can any one tell me how can i stop / cancle click event using this parameter??

    Also please suggest some good site for basic ASP.net ( specially abt controls).

    Thanks.
Working...