Tom,
You have to put the enableviewstate property of the page to false:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" EnableViewState="false"
AutoEventWireup="false" Inherits="WebApplication1.WebForm1" %>
And then you have to put the enableviewstate property of the dropdown
control to true:
<asp:DropDownList EnableViewState=True id="DropDownList1" style="Z-INDEX:
102; LEFT: 424px; POSITION: absolute; TOP:
88px"runat="server"></asp:DropDownList>
Pablo
"th*****************@yahoo.com" wrote:
I have a page that has hundreds of textboxes added dynamically by
writing out "<input type = text name=ctl_99>". In other words, these
are NOT asp.net web controls.
I want to enable viewstate for only ONE control, it is a dropdown
called drpOrg. This dropdown IS an asp.net web control.
Please help.
Tom