Figured it out, just doing it from the emptyDataTemplate
<EmptyDataTemplate>
<table width="100%" border="1">
<tr style="background-color:#F
<td class="DetailsViewRowStyle
<td><asp:TextBox ID="txtCityAdd" Text='' style="width:100px" runat="server" /></td>
</tr>
<tr>
<td class="DetailsViewRowStyle
<td>
<ucState:ddlState id="ddlStateAdd" CountryCode="US" SelectedText='' SelectedValue='' EditControl="False" runat="server" />
</td>
</tr>
<tr style="background-color:#F
<td class="DetailsViewRowStyle
<td><ucCountry:ddlCountry id="ddlCountryAdd" InitialValue="US" SelectedText='UNITED STATES OF AMERICA' SelectedValue='US' EditControl="True" runat="server" /></td>
</tr>
<tr>
<td colspan="2">
<asp:Button ID="btnAddLocation" CommandName="Add" EnableTheming="false" CssClass="btn_8" Text="Add" ValidationGroup="addLocati
</td>
</tr>
</table>
</EmptyDataTemplate>
Main Topics
Browse All Topics





by: prairiedogPosted on 2009-08-13 at 08:34:08ID: 25089555
VB.NET or C#?