Static UserControl ViewState Problem

A

Andrea

Putting a user control inside a row of server side HtmlTable having the
EnableViewState property set to false cause the user control viewstate to not
be persisted.

<TABLE id="Table1" runat="server" EnableViewState="false">
<TR>
<TD>
<uc1:WebUserControl1 id="WebUserControl11" runat =
"server"></uc1:WebUserControl1>
</TD>
</TR>
</TABLE>

This happen also by setting Table1.EnableViewState=false on the page load
event of the webform...

Is this by design ?
 

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

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,072
Latest member
trafficcone

Latest Threads

Top