<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="~/WebUserControl.ascx" TagName="Grid" TagPrefix="uc" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />                   
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadMultiPage1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    
    </telerik:RadAjaxManager>
    <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" 
        MultiPageID="RadMultiPage1" runat="server" ontabclick="RadTabStrip1_TabClick">
        <Tabs>
            <telerik:RadTab runat="server" Text="No grid!" PageViewID="RadPageView1">
            </telerik:RadTab>
            <telerik:RadTab runat="server"  Text="Grid" PageViewID="RadPageView2">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage ID="RadMultiPage1" SelectedIndex="0" runat="server">
        <telerik:RadPageView ID="RadPageView1" runat="server">
            No grid here, go to the next tab!
        </telerik:RadPageView>
        <telerik:RadPageView ID="RadPageView2" runat="server">        
            <uc:Grid ID="Grid1" runat="server" />
        </telerik:RadPageView>
    </telerik:RadMultiPage>
    </form>
</body>
</html>
