<FooterTemplate> <asp:DropDownList ID="ddlcustomer" runat="server" AppendDataBoundItems="true" DataSource='<%#GetCustomer() %>' DataTextField="CustomerName" DataValueField="CusVenID" ValidationGroup ="FtrowValidation"> <asp:ListItem Value="-1">-Select-</asp:ListItem> </asp:DropDownList> <asp:RequiredFieldValidator ID="reqfvCustomerName" runat="server" InitialValue="0" ControlToValidate="ddlcustomer" ValidationGroup="FtrowValidation" ErrorMessage="select Customer" Display="Dynamic" Text ="*"></asp:RequiredFieldValidator> </FooterTemplate>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)