?
Solved

Can we get QueryString in OnInit()

Posted on 2009-05-05
6
Medium Priority
?
1,450 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 15

Expert Comment

by:mohan_sekar
ID: 24308192
Request.QueryString.Item("str1")
0
 

Author Comment

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

Expert Comment

by:tculler
ID: 24308409
What exactly do you mean by "OnInit"? Which object does this method belong to?
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

Author Comment

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

Accepted Solution

by:
Tony McCreath earned 1500 total points
ID: 24312820
I'm sure you can. The Request object is created before the Page object.
0
 

Author Closing Comment

by:treehouse2008
ID: 31578180
Thanks
0

Featured Post

A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

764 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