Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 18th, 2006, 04:01 AM
Authorized User
 
Join Date: Nov 2006
Location: Mandi, Himachal Pradesh, India.
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to akhilhp
Default Adding Parameters to a Page.

Hi, I am new to ASP.net 2.0 (that is why member of beginer group). I wanted to know how can I add parameter to my page. I do not need parameter to run a query so the querystring parameters will not help. I only want that whenever my page is visited then on the basis of the parameter it can select for certain controls to be visible and certain others to be invisible.

Akhil
  #2 (permalink)  
Old November 18th, 2006, 12:53 PM
Friend of Wrox
Points: 3,060, Level: 23
Points: 3,060, Level: 23 Points: 3,060, Level: 23 Points: 3,060, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: , , .
Posts: 812
Thanks: 1
Thanked 53 Times in 49 Posts
Default

Do you want to store some value ina global variable so that you can do some operations:

If then use the following

1. Session State
2. Global asax file

Shasur

http://www.vbadud.blogspot.com
  #3 (permalink)  
Old November 20th, 2006, 12:31 AM
Authorized User
 
Join Date: Nov 2006
Location: Mandi, Himachal Pradesh, India.
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to akhilhp
Default

Thanks Shasur,

I think this is the only way.. Using global.asax.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Color and Size parameters to WEBSHOP Cart. DJPrice BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 March 10th, 2008 01:39 PM
Passing parameters to a new page... gbianchi ASP.NET 1.0 and 1.1 Basics 1 March 8th, 2006 03:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.