So I want to create a usercontrol using a DDL and use it in the edit template of a gridview. So far I have it defined like this.
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="FundtypeSelector.ascx.vb" Inherits="netNewTIP.FundtypeSelector" %>
<asp:DropDownList ID="Fundtype_DDL"
runat="server"
Width="80px"
AppendDataBoundItems="True"
DataSourceID="Fundtype_DataSource"
DataTextField="FundType"
DataValueField="FundType" >
<asp:ListItem Text="----" Value="0" Selected="True" />
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server"
ErrorMessage="Please provide a fundtype for this entry."
CssClass="validator"
Text="*"
ControlToValidate="Fundtype_ ...
Go to the complete details ...