Click here to Skip to main content
15,888,039 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
How to get a Texbox value in page_preinit event

What I have tried:

Not getting Texbox value in page_preinit event
Posted
Updated 10-Dec-16 19:59pm
v2
Comments
ridoy 11-Dec-16 1:56am    
Where is your code sample?

1 solution

page_preinit is the page life cycle where everything is initialized. You can't thrust that anything is available. In order to do that you have to use the Page_Load event.
 
Share this answer
 
Comments
sandeep89ms 11-Dec-16 5:55am    
It was an interview question.In practical cases,we can get value in Page_Load.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900