Click here to Skip to main content
15,899,020 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
If the usesubmitbehavior is set to false for the button control, it will generate the _dopostback function in javascript in the browser pagesource and pass the eventtarget and event argument from this function to the server for raising the button click event, otherwise if the usesubmitbehavior is set to true the button input type become submit, here it does not have the eventargument, eventtarget parameter and the postback function, how does it pass the event information from the browser to the server
Posted

1 solution

You are asking this question 3rd time today -
how the event message is transmitted to the server from the browser for submit button[^]
whether the button is clicked or not by using viewstate[^]

The QA section of the site is comprehensive enough to have a complete discussion and get your doubts clear.
Use the 'Have a Question or Comment' link to discuss something with the answerer. You can even update your question and add more information by clicking 'Improve Question' link.


Now about the question, the original state of any control is saved in the viewstate and any changes can be determined on the server by comparing the values. Check Page Lifecycle to know when what happens (Google that).
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900