- Online Barcode Generator
- How To
- Buy Now
The PerDropDownList template of KT.UI for ASP.NET AJAX has been designed to enable users to embed any context within PerDropDownListItem in ASP.NET programming application, such as, HTML markup, web ASP.NET server components as well as PerControls from Kettic UI library.
In this page, users can get detailed information of PerDropDownList server side template from following three aspects:
How to Create Server Side Template Web Application
Setting and defining PerDropDownList server side template are realized in Visual Studio Web ASP.NET application. Thus, please be sure that you have implemented KT.UI PerDropDownList control within Visual Studio 2010, 2012 or any greater version. The specific steps are like below:
A note here: the image in the server side PerDropDownList template and the text that occurs in the template is taken from the PerDropDownListItem using <%# DataBinder.Eval %> statements.
Example Codes for Setting Server Side Template
If you have successfully created the PerDropDownList template control within Visual Studio ASP.NET application based on the above instructions, you are able to move to this section to set your own server side template by referring to following well programmed sample codes.
Please note that, before the template can invoke and apply the PerDropDownList item's properties to bind the elements in the server side template, the application needs to definitely bind the items by calling DataBind method of PerDropDownListItem objects.
Please refer to following sample ASP.NET codes for setting server side template.
More DropDownList Template Guides
In addition to DropDownList server side template, KT.UI for ASP.NET AJAX still supports DropDownList client side template. If you need to get more guides on DropDownList client side template, please go to this tutorial page: how to set DropDownList serve side template.
ASP.NET AJAX UI Controls