Information to ListBox Item Template
In the tutorial of ListBox Items page, we mentioned several properties that the PerListBox Control has offered, including Text, Value, Checked, ImageUrl and BorderStyle, to help developers customize the style and look of the items.
Apart the properties that are mentioned in that page, the PerListBox Control also allows developers to customize the appearance of listbox items using template. Remarkably, using the templates, developer can add some complex elements to the items, like HTML markup, ASP.NET server controls and other ASP.NET AJAX UI controls.
Besides, another benefit of using template in listbox creating application lies on the convenience it has brought. For instance, instead of setting properties for each listed item, we just need to customize the properties of all items with one template. How to Customize Item Template in ListBox
You can find a sample programming example on how to customize the item template in ASP.NET web application. <kettic:PerListBox ID="PerListBox1" runat="server" Height="200px " Width="215px" ButtonSettings-AreaHeight="100px" ButtonSettings-AreaWidth="60px" >
Note: when customizing the item settings using template, you can also use the data binding feature. For instance, the image and text appear in the template can be all taken from other external databases. But you have to call the DataBind method if you want to use data binding function in the template.
If you have any question in the listbox item template setting process, please feel free to contact us via E-mail. Other ListBox Related Features
Apart from the template customizing function, the PerListBox Control also offers other advanced item managing features, like those listed below:
| ![]() ASP.NET AJAX UI Controls ASP.NET AJAX Chart UI Control ASP.NET AJAX Grid UI Control ASP.NET AJAX Barcode UI Control ASP.NET AJAX Button UI Control ASP.NET AJAX Calendar UI Control ASP.NET AJAX NavigationBar UI Control ASP.NET AJAX Captcha UI Control ASP.NET AJAX Color Editor UI Control ASP.NET AJAX ComboBox UI Control ASP.NET AJAX DataPager UI Control ASP.NET AJAX Dock UI Control ASP.NET AJAX DropDownList UI Control ASP.NET AJAX DropDownTree UI Control ASP.NET AJAX HtmlEditor UI Control ASP.NET AJAX FileManager UI Control ASP.NET AJAX Filter UI Control ASP.NET AJAX Input UI Control ASP.NET AJAX ListBox UI Control OverviewGetting StartedElementsFeatures ReorderTransferDrag and DropButton ConfigurationCheckBoxesLoad On DemandTemplatesData Binding XML DataDataSource DataClient Prpgramming ListBox EventServer Prpgramming ListBox EventASP.NET AJAX ListView UI Control ASP.NET AJAX ToolBar UI Control ASP.NET AJAX TabControl UI Control ASP.NET AJAX Menu UI Control ASP.NET AJAX ToolTip UI Control |