Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Control Code

Status
Not open for further replies.

NatGreen

Programmer
Apr 19, 2002
90
US
I my aspx contains a control that I built for searching and a list box.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For Example:
<%@ Register tagprefix=&quot;UserControl1&quot; TagName=&quot;Search&quot; src=&quot;Search.ascx&quot;%>

<TABLE id=&quot;Table1&quot; style=&quot;WIDTH: 580px; HEIGHT: 208px&quot;
<TR>
<TD style=&quot;WIDTH: 505px; HEIGHT: 14px&quot; align=&quot;right&quot;><UserControl1:Search id=&quot;UCSearch&quot; runat=&quot;server&quot;></UserControl1:Search></TD>
<TD style=&quot;WIDTH: 343px; HEIGHT: 30px&quot; vAlign=&quot;top&quot; rowSpan=&quot;4&quot;><asp:listbox id=&quot;Listbox1&quot; runat=&quot;server&quot; SelectionMode=&quot;Multiple&quot; HEIGHT=&quot;119px&quot; WIDTH=&quot;310px&quot;></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


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top