New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Client-side Events

Event log

RadMultiSelect exposes the following client-side events:

  • OnInitialize—Fired just before the RadMultiSelect client-side object is initialized.
  • OnDataBound—Fired when the widget is bound to data from its data source.
  • OnLoad—Fired when RadMultiSelect is initialized.
  • OnSelect—Fired when an item from the popup is selected by the user either with mouse/tap or with keyboard navigation. Cancellable.
  • OnDeselect—Fired when an item from the popup is deselected by the user either with mouse/tap or with keyboard navigation or tag is removed. Cancellable.
  • OnChange—Fired when the value of the widget is changed by the user.
  • OnOpen—Fired when the popup of the widget is opened by the user. Cancellable.
  • OnClose—Fired when the popup of the widget is closed. Cancellable.
  • OnFiltering—Fired when the widget is about to filter the data source. Cancellable.
  • DefaultVB.aspx
  • scripts.js
<%@ Page Language="vb" AutoEventWireup="true"  %>

<%@ 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>
    <script src="scripts.js"></script>
</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">
        <asp:Label Text="Continents:" ID="Label1" AssociatedControlID="RadMultiSelect1" runat="server" />
        <telerik:RadMultiSelect runat="server"
            Placeholder="Select continents..."
            AutoClose="false"
            TagMode="Single"
            DataTextField="text"
            DataValueField="value"
            Width="400px"
            ID="RadMultiSelect1">
            <ClientEvents OnInitialize="OnInitialize" OnLoad="OnLoad"
                OnDataBound="OnDataBound"
                OnOpen="OnOpen" OnClose="OnClose"
                OnSelect="OnSelect" OnDeselect="OnDeselect" OnChange="OnChange"
                OnFiltering="OnFiltering" />
            <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>

Support & Learning Resources

Find Assistance