Author: danielszabo1981 | Posted on: 9/10/2009 2:28:57 PM | Views : 1000

 Hi All,
Many thanks in advance.  I have created a user control with a nested user control.  Here's the Parent:
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CustomSearchBar.ascx.vb"
    Inherits="CustomControls_CustomSearchBar"  %>

<%@ Register TagPrefix="CustomControls" TagName="CustomRqstrDDL1" Src="~/CustomControls/CustomRqstrDDL1.ascx" %>

Requestor:  <CustomControls:CustomRqstrDDL1 ID="ADVSRCH_REQUESTOR_DDL1" runat="server" SelectedValue='<%# Bind("requestor_id") %>'  />
 
And here's the Child:
<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CustomRqstrDDL1.ascx.vb" Inherits="CustomControls_CustomRqstrDDL1" %>

 <asp:DropDownList ID= ...

Go to the complete details ...