EnableViewstate problem

A

Alpha

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
 
M

Mahesh ChandraMouli[MVP]

Hi,

Are you using submit button or normal button.

Regards
Mahesh ChandraMouli
Microsoft .NET MVP|MCAD
 
A

alpha

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top