<%@ Page Language="c#" AutoEventWireup="true" Inherits="Telerik.Web.Examples.MultiSelect.ServerSideEvents.DefaultCS" CodeFile="DefaultCS.aspx.cs"%>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
<title>Telerik ASP.NET Example</title>
</head>
<body>
<form id="form1" runat="server">
<telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
<telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
<div class="demo-container size-narrow" runat="server">
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadMultiSelect1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadMultiSelect1" />
<telerik:AjaxUpdatedControl ControlID="EventLogConsole1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<asp:Label Text="Continents:" ID="Label1" AssociatedControlID="RadMultiSelect1" runat="server" />
<telerik:RadMultiSelect runat="server"
AutoPostBack="true"
OnItemSelected="RadMultiSelect1_ItemSelected"
OnItemDeselected="RadMultiSelect1_ItemDeselected"
OnSelectionChanged="RadMultiSelect1_SelectionChanged"
Placeholder="Select continents..."
AutoClose="false"
TagMode="Single"
DataTextField="text"
DataValueField="value"
Width="400px"
ID="RadMultiSelect1">
<Items>
<telerik:MultiSelectItem Text="Africa" Value="1"></telerik:MultiSelectItem>
<telerik:MultiSelectItem Text="Europe" Value="2"></telerik:MultiSelectItem>
<telerik:MultiSelectItem Text="Asia" Value="3"></telerik:MultiSelectItem>
<telerik:MultiSelectItem Text="North America" Value="4"></telerik:MultiSelectItem>
<telerik:MultiSelectItem Text="South America" Value="5"></telerik:MultiSelectItem>
<telerik:MultiSelectItem Text="Antarctica" Value="6"></telerik:MultiSelectItem>
<telerik:MultiSelectItem Text="Australia" Value="7"></telerik:MultiSelectItem>
</Items>
</telerik:RadMultiSelect>
</div>
<qsf:EventLogConsole runat="server" ID="EventLogConsole1" AllowClear="true"></qsf:EventLogConsole>
</form>
</body>
</html>