BlazeControls
BlazeControls
 
 

BlazeSuggest is a compact and precise selection tool for those times when you need your users to pick from thousands of possibilities - and when using a regular drop down is simply impractical.

This example uses the auto-postback mechanism set the Stock Symbol indicator below.

Also see the BlazeSuggestPro version here.

 
 

Company Name:

Stock Symbol: -none-
 
Aspx Code
    1 <BlazeControls:BlazeSuggest id="BlazeSuggest1" runat="server" autopostback="True" DataSearchField="Company" DataSourceType="SqlDirect" DataValueField="Symbol" SQLDirectConnectionString="<%$ ConnectionStrings:csBlazeControls %>" SQLDirectSelectFields="Symbol,Company" SQLDirectTableName="Stocks" Width="254px">
    2         <DropDownTableStyle Width="254px" BackColor="White" BorderColor="#E0E0E0" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" CellSpacing="2" />
    3         <RowStyle BackColor="#81CF42" BorderColor="#E0E0E0" BorderStyle="Solid" ForeColor="White" BorderWidth="1px" />
    4         <HoverRowStyle BackColor="#214C83" BorderColor="Silver" BorderStyle="Solid" BorderWidth="2px"
    5             ForeColor="White" />
    6         <AlternatingRowStyle BackColor="#71BF31" BorderColor="#E0E0E0" BorderStyle="Solid"
    7             BorderWidth="1px" ForeColor="White" />
    8     </BlazeControls:BlazeSuggest>
C# Page Code Behind
    1     protected void Page_Load(object sender, EventArgs e)
    2     {
    3         // Set the the label on postback
    4         if (IsPostBack)
    5         {
    6             lblValue.Text = BlazeSuggest1.Value;
    7         }
    8 
    9     }
Home Products Downloads Purchase Sample Support About Us