Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Need help regarding query string in asp.net

I have a page create-quote.aspx. I want to open this page in different modes, depending on whether a querystring parameter is present or not.

My question is at which event should I check, If I have a querystring parameter or not. I think, it should be preinit, what do you say.

like image 313
Vaibhav Jain Avatar asked May 13 '10 13:05

Vaibhav Jain


1 Answers

Probably the best choice is to handle them on Page_Load event:

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

like image 196
mamoo Avatar answered Nov 01 '22 12:11

mamoo