1. Can anyone explain ,when Load post data event of a webservercontro l executes ,if it is created in pageload instead of init?[asp.net,C#]
2.My requirement was to create a textbox dynamically based on some contitions.so i created it in pageload.when the page is posted back(using a submit button) i am able to access user entered data in my dynamically created text box in submitbtn_click event.
I didnot understand the reason ,why i am able to access user entered data in my dynamically created text box, when i am creating it in page load which occurs after Load post data event .[asp.net,C#]
2.My requirement was to create a textbox dynamically based on some contitions.so i created it in pageload.when the page is posted back(using a submit button) i am able to access user entered data in my dynamically created text box in submitbtn_click event.
I didnot understand the reason ,why i am able to access user entered data in my dynamically created text box, when i am creating it in page load which occurs after Load post data event .[asp.net,C#]
Comment