-
If you refresh a page that has already been submitted, you will always be prompted with one"Retry or Cancel". , If it's an ordinary page, it doesn't seem to matter, there is one, it's a big deal. But when we're refreshing the parent form in a child form, it's a bit redundant.
That's why I wanted to give this dialog box. I found a very good way. To sum it up.
First, if the page has not been submitted, this method is easy to use. However, once this page has been submitted, the system will prompt you"Retry or Cancel".
Two = ; This method certainly doesn't prompt, but there is a problem that when the page is displayed, the first page will always be displayed when it is refreshed, which is also a matter of course, because the default request is the first page.
Three; This method is also not prompted, this method is to automatically submit the page, bypassing the annoying prompt interface, but if the refreshed page uses something like a gridwiew control, the data in it may not change with the refresh, the reason is that the data binding of gridwiew is carried out in the event of a control, and the page is submitted through submit(), which will not trigger the event of the control. The data in GridWiew is also obtained by reading the contents of the ViewStat, so the data does not change during the refresh process.
Four" control","");where control is the control id, this method is to overcome the shortcomings of three, no. Submit it directly like this. Not only do you have the page automatically committed, but you also have to find a way to have the control's events execute as well.
Note that the fourth method is not perfect, some pages do not have such a control, and some pages have this control but cannot trigger a data-binding event. For example, the page data is the kind of page that changes with the content of the box below. Because whether the page data is rebound depends on whether the content in the drop-down box has changed.
The content of the drop-down box will certainly not change before and after opening the subform, so the content of the page will not change either.
Fifth, for fourth, we can use some tricks on the parent page, such as not adding ispostback when binding data in page load, but if it is not good, the same data will be bound twice when clicking the button.
-
You can submit the page and then the URL redirect.
As. "")
-
""Here you delete successfully and return to the previous page, so of course the problem you described, oh, here you should write as.
-
You don't use the return one, use the one to re-go to this page"").
The third floor is like that.
-
How did you trigger this**?
Do you use post or get??
-
··· Click the button with name b1 to refresh the page.
·· Delete it and you're good to go.
Of course, this sentence has been refreshed.
It's the meaning of jumping.
As soon as it loaded, it jumped.
Jumped and loaded.
Load to that sentence and jump again.
Of course, it's been there all the time.
Just delete it.
Put the content and controls you want to update into the updatepanel and add a timer to read the data every few seconds.
-
Run to this sentence and it will automatically turn.。。
You can set to: Refresh on a regular basis.
-
The question is as simple as putting method= in the form of the form you submit to the page"post"Changed to method="get", while modifying your Get Form Information page, put:"***"), put. form to remove.
-
There will be a prompt when data is submitted to this page.
You can make judgments about the data submitted, such as:
title="title")
if title="" then
Warning, the title cannot be empty"
end if
-
This is the case with a form, and it can be solved without submitting a form.
-
<%if "action")="del" thendim id
id="id")
sql="delete from student where id='" & id & "'"
sql"The returned page should not contain parameters"
end if
&action=del"> deleted.
-
When the deletion operation is complete, in the bottom line, use"The name of the file without parameters"), to make a forced jump. Or use js** and jump to the filename without arguments.
-
I'll send you an email, don't forget to add points.
if "action")="del" thendim id
id="id")
sql="delete from student where id='" & id & "'"
sql%>
end if
&action=del"> deleted.
-
Make two parts on the login page, one for logging in, and the other for displaying after login. After a successful sign-in, go to the login page ("Landing page"\asp:"Landing page"That's it. No need to refresh.
Solution. First, the printed handwriting is blurred, and the marking speed is too fast. >>>More
Fix the system and try it.
1. Please use the system's built-in system restore to restore to the time when you do not have this failure (or use the restoration software to restore the system, if you can't enter the system, press F8 to enter the safe mode to restore the system). >>>More
I don't think it's all your brother-in-law, think about it, you get married in the future, your husband's sister always lives in your house, how are you, isn't it all the problem to move out and live? You must rectify your brother-in-law's words, then in front of your brother-in-law, be good to all relatives, but not to him, he will have a feeling of being isolated and excluded in his heart, which is much better than quarreling with him, but I think this will affect your feelings, or don't intensify the conflict like this, all the problems you move out will be solved, so that everyone is comfortable, and no one is in the way.
We must have an attitude of extreme disapproval and support, family education, the most difficult problem is children's early love. When it comes to early love, there is a strong resonance, and the opinions of parents must be sought, and individual children fall into early love, which does bring a shadow to the school and family, which will affect their studies and cause children to fall into misunderstandings. Parents must understand the characteristics of adolescence, strengthen education, give priority to prevention, and take precautions. >>>More
Right-click-Properties-Advanced-Monitor You call up this is the screen refresh rate of the monitor and the graphics card, of course, a little higher is better, there are two reasons why you can't adjust One is the problem of your monitor The other is the problem of your graphics card, you can try to reinstall the driver of the graphics card, see if you can solve it If it doesn't work, you use ghost to restore the system, if it still can't be solved, it is estimated that there is a problem with your graphics card and display!