I my aspx contains a control that I built for searching and a list box.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For Example:
<%@ Register tagprefix="UserControl1" TagName="Search" src="Search.ascx"%>
<TABLE id="Table1" style="WIDTH: 580px; HEIGHT: 208px"
<TR>
<TD style="WIDTH: 505px; HEIGHT: 14px" align="right"><UserControl1:Search id="UCSearch" runat="server"></UserControl1:Search></TD>
<TD style="WIDTH: 343px; HEIGHT: 30px" vAlign="top" rowSpan="4"><asp:listbox id="Listbox1" runat="server" SelectionMode="Multiple" HEIGHT="119px" WIDTH="310px"></asp:listbox></TD>
</TABLE>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What I would like to so is use my custom control to populate my list box depending on what the user has chosen to search by. How can I accomplish this?
Regards,
Natalee
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For Example:
<%@ Register tagprefix="UserControl1" TagName="Search" src="Search.ascx"%>
<TABLE id="Table1" style="WIDTH: 580px; HEIGHT: 208px"
<TR>
<TD style="WIDTH: 505px; HEIGHT: 14px" align="right"><UserControl1:Search id="UCSearch" runat="server"></UserControl1:Search></TD>
<TD style="WIDTH: 343px; HEIGHT: 30px" vAlign="top" rowSpan="4"><asp:listbox id="Listbox1" runat="server" SelectionMode="Multiple" HEIGHT="119px" WIDTH="310px"></asp:listbox></TD>
</TABLE>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What I would like to so is use my custom control to populate my list box depending on what the user has chosen to search by. How can I accomplish this?
Regards,
Natalee