AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
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
Hi,

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
When Good HTML Goes Bad: How You Can Protect Your Web Applications
Simply SQL - Free 111 Page Preview!
Easing the Migration to Microsoft SQL Server 2005