Button is firing BUtton Click on Refreshing the page

I came through some strange problem this week end

i had a form which have 3 textfields where user enters data and clicks on update button to update the values ….

the code was working fine but the tester has identified a bug int he program lie., when ever  user presses ReFresh Button after clicking Update Button or Submit button

The Solution for this is to write

Response.Redirect(“same Page name”);

the main concept behind this is if we use Response.Redirect can will call page to execute freshly ….


About kakani santosh kumar

Working as Software Engineer in Prithvi Information Solutions having 3 years of Experience in Dotnet Framework ranging from 1.1 to 3.5
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s