How the server checking the state of each and every control to identify changes

Posted by Karthime under ASP.NET on 4/9/2012 | Points: 10 | Views : 760 | Status : [Member] | Replies : 2
Hi, this is my interview question, if we click the button in asp.net2.0, how the server identifies the button's state changed in the viewstate, Any function or some other things doing this process of Server checking the state of each and every contol to identifie changes. please help me as soon as possible, coming wednesday i have the final round

A.Karthi


Responses

Posted by: Rajni.Shekhar on: 4/9/2012 [Member] Bronze | Points: 25

Up
0
Down
In page life cycle, there is a stage where all controls event run, so when any button ic clicked or any event fired server process it before rendering the page.

for more details you can check:

http://msdn.microsoft.com/en-us/library/ms178472.aspx

Thanks,
Rajni Shekhar

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthime on: 4/9/2012 [Member] Starter | Points: 25

Up
0
Down
Hi, How the server knows the particular button is clicked..

A.Karthi

Karthime, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response