Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2005

Tip: Looking for answers? Try searching our database.

Setting a QueryString for a startup page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nobody - 22 Jul 2005 17:30 GMT
Hi -- I'm developing an ASP.NET application in VS.NET and I want the
startup page to read in some parameters from a querystring.  But I
can't figure out where to set the querystring.  I thought it was in the
Project Properties dialog under the Debugging tab.  There's a dropdown
box where you can set the start up page.  But VS ignores the
querystring I add to the page name in this combo box.  I know this
because the Request.QueryString property is Nothing when I read it in
the Page_Load event.  Any idea where (or if) this is possible?

Thanks in advance,

Bill
Victor Garcia Aprea [MVP] - 22 Jul 2005 17:46 GMT
Hi,

Project Properties->Debugging tab->Start page textbox (its not a dropdown
box) works ok for me. If you set this textbox to something like
"default.aspx?blah=2" it should fire up your browser with that URL and
querystring parameters.

Signature

Victor Garcia Aprea
Microsoft MVP | ASP.NET
Read my weblog:
Followers of the IHttpHandler
http://clariusconsulting.net/vga

> Hi -- I'm developing an ASP.NET application in VS.NET and I want the
> startup page to read in some parameters from a querystring.  But I
[quoted text clipped - 8 lines]
>
> Bill
Peter Rilling - 22 Jul 2005 18:02 GMT
You can also the command-line parameters for in the project properties so
something like "?a=10&b=20" (without the quotes.  The command-line
parameters are added to the URL in web projects.

> Hi,
>
[quoted text clipped - 15 lines]
> >
> > Bill
Nobody - 22 Jul 2005 18:24 GMT
How simple.  Thanks!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.