<%@ Page Language="vb" AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="Switch.ServerSideApi.ServerSideEvents.DefaultVB" %>
<!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-containers">
<div class="demo-container size-thin">
<telerik:RadLabel runat="server" ID="RadLabel1" AssociatedControlID="RadSwitch1" Text="I agree to the Terms & Conditions.">
</telerik:RadLabel>
<telerik:RadSwitch ID="RadSwitch1" runat="server" CommandName="Delete" Width="65px"
OnCheckedChanged="RadSwitch1_CheckedChanged" OnClick="RadSwitch1_Click" OnCommand="RadSwitch1_Command">
<ToggleStates>
<ToggleStateOff Text="No"/>
<ToggleStateOn Text="Yes" />
</ToggleStates>
</telerik:RadSwitch>
<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadSwitch1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="EventLogConsole1" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1" />
</div>
</div>
<qsf:EventLogConsole ID="EventLogConsole1" runat="server" AllowClear="true" Height="200px"></qsf:EventLogConsole>
</form>
</body>
</html>