ViewState question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • M O J O

    #1

    ViewState question

    Sorry for crossposting this question, but after I submitted it to VB
    group, I remembered that this is infact an ASP.NET question - sorry again!

    Well here's the question:

    When my application throws an exception, I send my self an email with
    all possible information.

    I want to be able to know what the user entered in my form fields.

    How do I cycle through the viewstate and get all the keys & values?

    I believe I can write all these into a session var in the page load.
    That way it should be possible the see all form field data in case of an
    exception.

    Any better ideas?

    Thanks!

    M O J O

  • Natty Gur

    #2
    Re: ViewState question

    Hi,

    way do you cycle through the viewstate when you can get the value from
    Form collection ?

    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!

    Comment

    Working...