Solved

Can we get QueryString in OnInit()

Posted on 2009-05-05
6
1,378 Views
Last Modified: 2012-08-13
Can we get get QueryString in OnInit()? If yes, could please a sample in C#
0
Comment
Question by:treehouse2008
6 Comments
 
LVL 15

Expert Comment

by:mohan_sekar
Comment Utility
Request.QueryString.Item("str1")
0
 

Author Comment

by:treehouse2008
Comment Utility
What I concerned is if it can be done in event OnInit()?
0
 
LVL 9

Expert Comment

by:tculler
Comment Utility
What exactly do you mean by "OnInit"? Which object does this method belong to?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:treehouse2008
Comment Utility
This is asp.net.
OnInit() is one of the events of aps.net page life cycle.
0
 
LVL 23

Accepted Solution

by:
Tiggerito earned 500 total points
Comment Utility
I'm sure you can. The Request object is created before the Page object.
0
 

Author Closing Comment

by:treehouse2008
Comment Utility
Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now