ASP.NET Page Variables Persistence
From: Mark Anthony Spiteri (mark_at_[remove)
Date: 06/26/04
- Next message: John Timney \(Microsoft MVP\): "Re: BreadCrumb Trail"
- Previous message: Simon Harris: "global user controls and classes"
- Next in thread: Gareth Jones: "Re: ASP.NET Page Variables Persistence"
- Reply: Gareth Jones: "Re: ASP.NET Page Variables Persistence"
- Reply: Scott Allen: "Re: ASP.NET Page Variables Persistence"
- Reply: John Saunders: "Re: ASP.NET Page Variables Persistence"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 26 Jun 2004 08:08:01 -0700
Hi,
I am designing an ASP.NET application in which particular pages require global variables that need to be persisted during postbacks. What is the best practice to do this?
Is it to use the viewstate object or is declaring the variables as static sufficient (I am currently using this method)?
Thank you,
Mark Anthony Spiteri
- Next message: John Timney \(Microsoft MVP\): "Re: BreadCrumb Trail"
- Previous message: Simon Harris: "global user controls and classes"
- Next in thread: Gareth Jones: "Re: ASP.NET Page Variables Persistence"
- Reply: Gareth Jones: "Re: ASP.NET Page Variables Persistence"
- Reply: Scott Allen: "Re: ASP.NET Page Variables Persistence"
- Reply: John Saunders: "Re: ASP.NET Page Variables Persistence"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|