Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 13th, 2005, 02:38 AM
Registered User
 
Join Date: Jun 2005
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default retrieve values of __VIEWSTATE

Hello

Please help me in my problem. I have two .aspx page. My requirements is really straightforward but since im new into asp.net its really hard for me.
Okay, my first.aspx compose of two dropdownlist and 1 button.

The first dropdownlist is for the employee name, and the second dropdownlist is for the department. And a button submit. The page is enable for ViewState. And i know that all the values selected from my dropdownlist are save into hidden __VIEWSTATE. When i click the button, what i want is to display the selected values from my dropdownlist to my second.aspx page. And i want to use the __VIEWSTATE to retrieve the values..

Please how help me how can i do this. How can i decode the content of my __VIESTATE?

Thanks.





  #2 (permalink)  
Old July 13th, 2005, 02:56 AM
Authorized User
 
Join Date: Feb 2005
Location: hyderabad, Andhara Pradesh, India.
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ashokparchuri Send a message via Yahoo to ashokparchuri
Default

hi,

   Why don't u try to do it with sessions or cookies...your requirement is so simple...

    I am not sure whether we can decode <viewstate> from another page..any way if you go for sessions it will be secure and will fullfil your requirement...

    may i know why do u want to use only view state...?

-Ashok Parchuri
  #3 (permalink)  
Old July 13th, 2005, 03:01 AM
Authorized User
 
Join Date: Feb 2005
Location: hyderabad, Andhara Pradesh, India.
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ashokparchuri Send a message via Yahoo to ashokparchuri
Default

Hey,

   Look at the following link if u need any help for sessions/response.redirect methods...

http://p2p.wrox.com/topic.asp?TOPIC_ID=32565

   I suggest you to use sessions insted of response.redirect...sessions are quite good when security matters..

   Hope this helps-Ashok Parchuri
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retrieve values from gridview rojiin ASP.NET 2.0 Basics 1 June 26th, 2007 07:32 AM
How to retrieve checkbox values which are checked SMM Classic ASP Professional 2 June 3rd, 2007 06:45 PM
retrieve attribute values from CSS(from class) anujrathi ASP.NET 2.0 Professional 1 May 7th, 2007 01:57 PM
loop values and text box values move mateenmohd Classic ASP Basics 2 April 5th, 2005 11:33 PM
How to retrieve multiple values at run time using anshul21 Crystal Reports 1 May 31st, 2004 10:36 PM



All times are GMT -4. The time now is 01:30 PM.


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