Hello Frinavale,in which stage does the valu of TEXTBOX.TEXT PROPERTY Set to the value entered by the user(I think it should happen in LOADPOSTDATA Event .but in my case ,before i created the textbox this event is over).
But i am still able to access this value .so where or in which event is this text property of textbox being set.
Hi there!
I'm just going to quickly review the page life cycle:
================================================== =======
Page Request
ASP.Net figures out if the page needs to be parsed/compiled or if there is a cached version of your website that can be sent back to the user without "Running" the page.
Start
The page properties Request and Response are set and it is determined whether the request is postback or not.
****Page Initialization
Your controls are set
Load
The OnLoad() event method is called for your main page and all of its childern
Validation
The validation for each input control is performed. The IsValid property is set, indicating if the input was valid or not
Postback Event
The method that handles the event that caused the postback is executed.
Rendering
The viewSate is saved and the page is rendered and saved into an output stream in order to send it to the browser.
Unload
This happens after the page has been sent to the browser ...the Request and Response objects are destroyed ...basically clean up happens
================================================== =======
During the Page Initialization stage the PreLoad() event handler is called to load the view state and set all of your controls....I believe your TextBox.Text value is set here.
Cheers!
-Frinny