asp.net - How a browser based Form POST becomes a Server Side event like Button_OnClick -


i have seen question in what great .net developers ought know -by scott hanselman

i not sure, per knowledge button control gets rendered html input tag submit(with dynamic id). when post event fired asp.net uses dynamically generated button id , matches respective button click event @ c# side....

please let me know, if understanding correct. thought can wrong or out of context.

update:-

i did little google , came across this link states

an asp.net button control in html html input element type attribute set "submit". submit button in html invokes post, using action attribute form element, which, asp.net, current page. since post, form variables populated of values input elements in form element, including value (name) of submit button. when post arrives @ server , parsed asp.net, acknowledge post initiated submit button, turned click event original asp.net button control.

some 1 answer that:

an asp.net button control in html html input element type attribute set "submit". submit button in html invokes post, using action attribute form element, which, asp.net, current page. since post, form variables populated of values input elements in form element, including value (name) of submit button. when post arrives @ server , parsed asp.net, acknowledge post initiated submit button, turned click event original asp.net button control.

just pass great info :)


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -