This may be the main question. I know that a function __doPostback()takes 2 arguments, eventtarget and eventargs. eventtarget is used to identify the control that causes the postback. Then what is the use of eventargs in a function __doPostback?
__doPostback()
__doPostback
I saw that the function __doPostbackalways set the hidden field __EVENTARGUMENTto nothing for any postbacks caused by even auto-repeat controls to true or to a control like linkButton.
__EVENTARGUMENT
Please give me your input.
Thanks in advance!
_EVENTARGUMENT, javascript:
javascript:__doPostBack('MyControl', 'myArgument');
, ASP.NET : http://aspalliance.com/895_Understanding_the_JavaScript___doPostBack_Function.5
__EVENTARGUMENT - , . , , null , .
null
__EVENTARGUMENT, , (, linkbutton gridview, /commandargument/etc ). , .
Source: https://habr.com/ru/post/1732179/More articles:DropDown list onchange event and AJAX in MVC - ajaxis it ok to use the data access level using only SqlConnection SqlCommand and SqlDataReader - c #At what point does the form lose its βmodelβ and become a document? - databaseQuartz.net and Common.Logging - Using Log4Net - c #Eval vs. DataField in ASP: Datagrid - asp.netChecking AJAX / Javascript checkbox - javascriptWhat does the _Default keyword mean in C # - c #Check if file copying is complete - asp.netPush / HTTP Server Stream on Windows Mobile / Windows CE - httpOriginal platform structure and link - linqAll Articles