|

How
to use Smart DropDownList?
Just
simply download the source code in VB or C# provided below and build the binary (.dll) file.
To add the control to
your Asp.net page:
1.
If you use vs.net, just simply customize the toolbox and and
add the
newly built dll file .
Just simply drag and drop SmartDropDownList control into your
aspx pages.
2.
If you use notepad simply add the register prefix at the beginning
of your aspx page :
<%@
Register TagPrefix="cc1" Namespace="SmartDropDownList"
Assembly="SmartDropDownList" %>
and
add the control with this syntax:
<cc1:SmartDropDownList
id="SmartDropDownList1" runat="server"></cc1:SmartDropDownList>
3.
You can also use this for any regular static html, just simply add the script block shown below and add the javascript actions on the <SELECT> tag .
This control inherits all the properties, events, and methods
of the generic Asp.net dropdownlist, therefore you can use
it just like one. This control however will not work well
if you set the dropdownlist to autopostback.
|