EnableViewState bug !!!

Discussion in 'ASP .Net Web Controls' started by Alpha, Dec 19, 2003.

  1. Alpha

    Alpha Guest

    Hi Friends,
    I am setting EnableViewState property of page
    and 2 textbox to false but still its retaining the
    values. After refreshing the page..it is submitting the
    value in 2 textboxes even the Text property is assigned
    to blank.I want after refreshing the page the 2 textboxes
    should not retain the previously entered value.Because
    after submitting I am taking value from textboxes and
    showing into table below these textboxes...so after
    refreshing it is repeated.....I actually donot it.

    Any pointer will be reat help.


    Thanks
    Alpha
     
    Alpha, Dec 19, 2003
    #1
    1. Advertising

  2. Alpha

    James Radke Guest

    Hello,

    in the page load event do you have your page initialization code wrapped in
    an

    If not ispostpack then
    initialization code goes here

    end if

    statement?

    Jim

    "Alpha" <> wrote in message
    news:0a5d01c3c632$0e00be20$...
    >
    > Hi Friends,
    > I am setting EnableViewState property of page
    > and 2 textbox to false but still its retaining the
    > values. After refreshing the page..it is submitting the
    > value in 2 textboxes even the Text property is assigned
    > to blank.I want after refreshing the page the 2 textboxes
    > should not retain the previously entered value.Because
    > after submitting I am taking value from textboxes and
    > showing into table below these textboxes...so after
    > refreshing it is repeated.....I actually donot it.
    >
    > Any pointer will be reat help.
    >
    >
    > Thanks
    > Alpha
     
    James Radke, Dec 19, 2003
    #2
    1. Advertising

  3. Alpha

    Mas Jabier Guest

    Try to clear your IE cache first, and then close all IE
    windows and start again.

    Hope this help :)
    Rgds,

    Jody Ananda,MCAD,MCSD.Net

    >-----Original Message-----
    >
    > Hi Friends,
    > I am setting EnableViewState property of page
    >and 2 textbox to false but still its retaining the
    >values. After refreshing the page..it is submitting the
    >value in 2 textboxes even the Text property is assigned
    >to blank.I want after refreshing the page the 2 textboxes
    >should not retain the previously entered value.Because
    >after submitting I am taking value from textboxes and
    >showing into table below these textboxes...so after
    >refreshing it is repeated.....I actually donot it.
    >
    >Any pointer will be reat help.
    >
    >
    >Thanks
    >Alpha
    >.
    >
     
    Mas Jabier, Dec 20, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dave Verwer

    EnableViewState = false not working

    Dave Verwer, Jul 10, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    698
    Dave Verwer
    Jul 10, 2003
  2. Ravikanth[MVP]
    Replies:
    1
    Views:
    1,762
    Christian H
    Jul 24, 2003
  3. sultan zahir khan
    Replies:
    2
    Views:
    452
    Joao S Cardoso [MVP]
    Jul 24, 2003
  4. JohnG

    EnableViewState

    JohnG, Aug 10, 2003, in forum: ASP .Net
    Replies:
    3
    Views:
    384
    JohnG
    Aug 10, 2003
  5. Alpha

    EnableViewstate problem

    Alpha, Dec 20, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    413
    alpha
    Dec 20, 2003
Loading...

Share This Page