Hello,
How can I retain variables info in a "global" location in a web app so that if the info in those variables comes from a web service, I only need to call the web services once, and not every time the page load method is called? I know the pages do not retain info. I am only wondering if it is possible in a page in which I am loading the same user control multiple times using ajax and passing info into the user control that comes from a web service. I do not wish to call the web service every time I am adding the user control because the drop downs all contain the same info...
THANK YOU!
1 Replies - 444 Views - Last Post: 23 August 2011 - 04:25 AM
#1
How to retain variables in pages when load (or preload) method occurs?
Posted 22 August 2011 - 09:55 PM
Replies To: How to retain variables in pages when load (or preload) method occurs?
#2
Re: How to retain variables in pages when load (or preload) method occurs?
Posted 23 August 2011 - 04:25 AM
store them in either viewstate or session
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|