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

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register Src="~/GridControl.ascx" TagPrefix="UC1" TagName="MyControl" %>
<%@ Register Src="~/GridControl2.ascx" TagPrefix="UC2" TagName="MyControl2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
</head>
<body>
    <form id="mainForm" runat="server">
    <asp:ScriptManager runat="server" ID="ScriptManager1">
    </asp:ScriptManager>
    <asp:UpdatePanel runat="server" ID="UpdatedPanel1">
        <ContentTemplate>
            <telerik:RadTabStrip runat="server" ID="RadTabStrip1" AutoPostBack="true" MultiPageID="RadMultiPage1">
                <Tabs>
                    <telerik:RadTab runat="server" PageViewID="PV1" Selected="true" Text="Tab1">
                    </telerik:RadTab>
                    <telerik:RadTab runat="server" PageViewID="PV2" Text="Tab2">
                    </telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>
            <telerik:RadMultiPage runat="server" ID="RadMultiPage1" RenderSelectedPageOnly="true">
                <telerik:RadPageView runat="server" Selected="true" ID="PV1">
                    <p>
                        PV1</p>
                    <UC1:MyControl runat="server" ID="SqlDataSourceControl_1" />
                    <UC2:MyControl2 runat="server" ID="ObjectDataSourceControl_1" />
                </telerik:RadPageView>
                <telerik:RadPageView runat="server" ID="PV2">
                   <p>
                        PV2</p>
                    <UC1:MyControl runat="server" ID="SqlDataSourceControl_2" />
                    <UC2:MyControl2 runat="server" ID="ObjectDataSourceControl_2" />
                </telerik:RadPageView>
            </telerik:RadMultiPage>
        </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
