New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial
Getting Started with the ChipList
This guide demonstrates how to get up and running with the Telerik WebForms ChipList.
After the completion of this guide, you will be able to achieve the following end result:

Create the ChipList
In the Markup
- add a
telerik:RadChipListelement to the page - and
telerik:ChipListItemelements to theItemscollection - configure the
telerik:ChipListItemoptions, likeIcon, andLabel.
Example
ASP.NET
<telerik:RadChipList runat="server" ID="RadChipList1">
<Items>
<telerik:ChipListItem Icon="plus" Label="Add" />
<telerik:ChipListItem Icon="pencil" Label="Edit" />
<telerik:ChipListItem Icon="trash" Label="Remove" />
</Items>
</telerik:RadChipList>
Dynamically on Server-side
- create a new instance of a
RadChipListobject - and
ChipListItemobjects to theItemscollection - configure the
ChipListItemoptions, likeIcon, andLabel. - add the
RadChipListinstance to theControlscollection of another control (e.g.PlaceHolder1)
Example
C#
protected void Page_PreInit(object sender, EventArgs e)
{
RadChipList chiplist = new RadChipList() { ID = "RadChipList1" };
chiplist.Items.Add(new ChipListItem() { Icon = "plus", Label = "Add" });
chiplist.Items.Add(new ChipListItem() { Icon = "pencil", Label = "Edit" });
chiplist.Items.Add(new ChipListItem() { Icon = "trash", Label = "Remove" });
PlaceHolder1.Controls.Add(chiplist);
}The PlaceHolder1
ASP.NET
<asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
Creating controls programmatically must be done in an early event such as PreInit (preferably), and Init. For more details you can check out the ASP.NET Page Life-Cycle Events
Next Steps
- Change the Appearance
- Customize the ChipList
- Enable Selection
- Removable
- Client-side Programming
- Server-side Programming