By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,364 Members | 1,278 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,364 IT Pros & Developers. It's quick & easy.

EnableViewstate problem

P: n/a

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
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Hi,

Are you using submit button or normal button.

Regards
Mahesh ChandraMouli
Microsoft .NET MVP|MCAD
-----Original Message-----

Hi Friends,
I am setting EnableViewState property of pageand 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 textboxesshould 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
.

Nov 18 '05 #2

P: n/a
I am using button web componen

<asp:button id="Button2" runat="server" Width="94px" Text="Submit" Height="31px"></asp:button

and click of this button we writing somwe code.

---
Posted using Wimdows.net NntpNews Component - Posted from .NET's Largest Community Website: http://www.dotnetjunkies.com/newsgroups/
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.