runat

How can you tell if form runat=server has been set?

When coding an Asp.Net page, you generally add a runat attribute in the aspx: <form id="form1" runat="server"> Is it possible to tell in the code behind if the user hasn't done this i.e. they only did this: <form id="form1"> Here the form has the id "form1" but in my case I don't know this. Code behind such as this is what I am loo...

FormView not passing a value contained within "runat=server" row

I have the following code in the EditItemTemplate of my FormView: <tr id="primaryGroupRow" runat="server"> <td class="Fieldname">Primary Group:</td> <td><asp:DropDownList ID="iPrimaryGroupDropDownList" runat="server" DataSourceID="GroupDataSource" CssClass="PageText" DataTextField="sGroupName" DataValueField="iGroupID" SelectedValu...