Asp.Net News
Free Tech Magazines
Asp.Net Web Hosting
Suggest Us
Link to Us
Feeds Subscription
Questions & Answers
Tips & Tricks
 Page Refresh
Posted by Saravanan on  3/23/2010 11:36:48 PM Category: Asp.Net 2.0
Add to my favorites
Email to friend
I have one of issues ,In Email id text box have empty value then i click the F5-Refresh.The page has reloading and defaultly it's fire the button click event.I want to avoid this default button click event.

Post Your Reply Post New Question

 Viewer's Reply
Remove Default Submit of Button Event
Answered By Moderator1 on 3/26/2010 10:41:04 PM

I don't think so such things happen. There is chance that, we you click button click event first, then press F5, then again button click event will fire. This is unavoidable in most cases. For your case, check your code, if you have invoked the Button's click event anywhere in Page load or in page level event declaration or in Page Init methods.
Post Your Reply If you still have problem, post it again under this reply for better response.

Sponsored by
The JavaScript Anthology: 101 Essential Tips, Tricks & Hacks - Free 158 Page Preview
Web Application Security — How to Minimize Prevalent Risk of Attacks
Oracle Magazine