Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > EnableViewState bug !!!

Reply
Thread Tools

EnableViewState bug !!!

 
 
Alpha
Guest
Posts: n/a
 
      12-19-2003

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
 
Reply With Quote
 
 
 
 
James Radke
Guest
Posts: n/a
 
      12-19-2003
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" <(E-Mail Removed)> wrote in message
news:0a5d01c3c632$0e00be20$(E-Mail Removed)...
>
> 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



 
Reply With Quote
 
 
 
 
Mas Jabier
Guest
Posts: n/a
 
      12-20-2003
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
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*bug* *bug* *bug* David Raleigh Arnold Firefox 12 04-02-2007 03:13 AM
EnableViewState JohnG ASP .Net 3 08-10-2003 05:32 PM
enableviewstate=false, still viewstate information is added sultan zahir khan ASP .Net 2 07-24-2003 02:08 PM
enableviewstate=false, still viewstate information is added Ravikanth[MVP] ASP .Net 1 07-24-2003 12:58 PM
EnableViewState = false not working Dave Verwer ASP .Net 0 07-10-2003 10:31 AM



Advertisments