473,378 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

clear postdata in dotnet

Hi,
My problem is well known to all. But, I couldn't able to get answer from anywhere either from my colleagues, or from forums. :(

My problem is this:

1. I've 10 fields on the form, which all are mandatory fields including one textarea.
2. If I click on the Submit button after filling up all the required fields, first-time it is okay, but when I clicked F5 button to refresh the page, the following error is coming.
The page you are trying to view contains POSTDATA. If you resend the data, any action the form carried (such as a search or online purchase) will be repeated. To resend the data, click OK. Otherwise, click Cancle.

Obviously this error will come and should come. ;)

but, my doubt is how to prevent the error being displayed.

In a simple way, my question is:
"Is there any way to flush-out the posted data?"
Jun 25 '07 #1
1 1351
kenobewan
4,871 Expert 4TB
One way would be to always clear the values in the page load.
Jun 25 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: mic | last post by:
I'm stuck with following problem. Using webbrowser control I try to make custom-made request. I found working example of this written in VBS but porting it to Python doesn't seem to work. The key...
3
by: msnews.microsoft.com | last post by:
Hello All, In the "Find Dialog" (Ctrl-F) of the IDE there is an option called "Mark All". When I click "Mark All", this marks the occurences of my search text. How will I clear this mark? ...
5
by: Davie | last post by:
I'm developing an application on the smartphone. To reduce the size of the application i'm using panels where appropriate instead of forms. As a result of the design, I need to have different...
0
by: Donal McWeeney | last post by:
Hi, I'm currently playing with a custom composite control at the moment and I can get it to get the posted data back in the control - however not the way I want it to. If I specify the...
1
by: feng | last post by:
The Combobox1.item.clear doesn't seem to work for me correctly. I have a Combox with a datasource bind to it. When I try to clear the Combobox with the following code: Combobox1.DataSource =...
2
by: Lal | last post by:
dear all On my project all forms have 10-25 text boxes, i want to clear these text boxes. insted of typing .clear on every text boxes any single command for a particular form i am new in .net...
1
by: Kittie | last post by:
Hello, I'm pretty new to web programming and i'm facing an issue. Hope someone can help! I have a LinkButton in a form and when i click on it, it posts back to the page. The problem i want to...
0
by: Rama Jayapal | last post by:
hi i have to develop a webapplication where i need to request a webpage with the help of httpwebrequest and httpwebresponse class.like the following code webRequest =...
0
by: Ekart Laszlo | last post by:
Hi, there We have currently a Java Applet based solution that we would like to rewrite to a .NET solution. The scenario is the following: 1. Starter Client application opens up a web browser...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.