Home > Net >  Asp.net, click on the button the page refresh automatically
Asp.net, click on the button the page refresh automatically

Time:10-10

Why asp.net click the refresh button, I do a test system, each exam random load test, but a submit button item changed

CodePudding user response:

I need to click on the button in the new page can calculate the score, because item change so don't tell the right and wrong

CodePudding user response:

Asp. Net click button does not refresh,, don't use the entire interface runat="server"

CodePudding user response:

But no ruant="sever" will go wrong

CodePudding user response:

Do not add ruant="server" button on the interface is not shows the

CodePudding user response:

reference weixin_42060095 reply: 3/f
but no ruant="sever" will go wrong.

Submit & lt;/button>
That try that

CodePudding user response:

reference 5 floor ManBOyyy reply:
Quote: refer to the third floor weixin_42060095 response:

But no ruant="sever" will go wrong.

Submit & lt;/button>
That try that
so no onclick event ah

CodePudding user response:

refer to 6th floor weixin_42060095 response:
Quote: refer to the 5 floor ManBOyyy response:
Quote: reference weixin_42060095 reply: 3/f

But no ruant="sever" will go wrong.

Submit & lt;/button>
That try that
so no onclick event ah
I is to perform in the background click event to calculate scores

CodePudding user response:

refer to 7th floor weixin_42060095 response:
Quote: refer to the sixth floor weixin_42060095 response:
Quote: refer to the fifth floor ManBOyyy reply:
Quote: reference weixin_42060095 reply: 3/f

But no ruant="sever" will go wrong.

Submit & lt;/button>
That try that
so no onclick event ah
I is to perform in the background click event to calculate score

Can be added

CodePudding user response:

refer to the eighth floor ManBOyyy response:
Quote: refer to 7th floor weixin_42060095 response:

Quote: refer to the sixth floor weixin_42060095 response:
Quote: refer to the 5 floor ManBOyyy response:
Quote: reference weixin_42060095 reply: 3/f

But no ruant="sever" will go wrong.

Submit & lt;/button>
That try that
so no onclick event ah
I is to perform in the background click event to calculate score

Can add
I try

CodePudding user response:

refer to 7th floor weixin_42060095 response:
Quote: refer to the sixth floor weixin_42060095 response:
Quote: refer to the fifth floor ManBOyyy reply:
Quote: reference weixin_42060095 reply: 3/f

But no ruant="sever" will go wrong.

Submit & lt;/button>
That try that
so no onclick event ah
I is to perform in the background click event to calculate score

As long as you don't use the service control line
Such as & lt; Don't use asp: the beginning, or you will click refresh with HTML controls, or provide the local refresh UpdatePanel with Microsoft

CodePudding user response:

references to the tenth floor ManBOyyy response:
Quote: refer to 7th floor weixin_42060095 response:

Quote: refer to the sixth floor weixin_42060095 response:
Quote: refer to the 5 floor ManBOyyy response:
Quote: reference weixin_42060095 reply: 3/f

But no ruant="sever" will go wrong.

Submit & lt;/button>
That try that
so no onclick event ah
I is to perform in the background click event to calculate score

As long as you don't use the service control line
Such as & lt; Don't use asp: the beginning, otherwise you will click refresh with HTML controls, or use Microsoft's local refresh UpdatePanel
use HTML controls cannot perform event in the background

CodePudding user response:

Could not perform on principle, or so

<script>
The function the validate () {
If (" success ") {
return true;
} else {
Return false;
}
}
</script>

CodePudding user response:

HTML controls can also, but the value of the HTML is in the background for the value Web is for the control of the textnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull