RadTabStrip

1 posts, 0 answers
  1. Krishnakumar
    Krishnakumar avatar
    1 posts
    Member since:
    Feb 2012

    Posted 20 Feb 2012 Link to this post

    I have an error while running my asp.net file which using Rad-Controls. I used to create a page with RadTabStrip with the online sample that was in www.telerik.com/help/aspnet/tabstrip/tab_create a wizzard with telerik radtabstrip.html site. But it won't work while running. This page runs with an error "Done, but errors on page".

    I need to know what exactly problem this is. Could any body help me?




    I use this as my code snippet.


    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadForCtrl.aspx.cs" Inherits="RadForCtrl" %>
     
    <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        Namespace="System.Web.UI" TagPrefix="asp" %>
     
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    <head runat="server">
        <title>Untitled Page</title>
         
     
    </head>
    <body>
        <form id="form1" runat="server">
              <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
        <div>
               
            <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="2">
                <Tabs>
                    <telerik:RadTab runat="server" PageViewID="PageView0" SelectedIndex="0" Text="Account Info"></telerik:RadTab>
                    <telerik:RadTab runat="server" Enabled="False" PageViewID="PageView1" Text="Address"></telerik:RadTab>
                    <telerik:RadTab runat="server" Enabled="False" PageViewID="PageView2" Text="Subscription"></telerik:RadTab>
                    <telerik:RadTab runat="server" Enabled="False" PageViewID="PageView3" Text="Registration"></telerik:RadTab>
                </Tabs>
            </telerik:RadTabStrip>
             
               
         
        </div>
                
            <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="2">
                 
                <telerik:RadPageView ID="PageView0" runat="server">
                        <asp:Label ID="Label1" runat="server" Text="Title"></asp:Label>
                            <asp:DropDownList ID="DropDownList1" runat="server">
                                <asp:ListItem>Mr.</asp:ListItem>
                                <asp:ListItem>Mrs.</asp:ListItem>
                                <asp:ListItem>Miss.</asp:ListItem>
                            </asp:DropDownList><br />
                     
                        <asp:Label ID="Label5" runat="server" Text="First Name"></asp:Label>
                        <asp:TextBox ID="txtFirstName" runat="server"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtFirstName" ErrorMessage="Frist Name is Required" Display="Dynamic"></asp:RequiredFieldValidator><br />
                         
                    <asp:Label ID="Label6" runat="server" Text="Second Name"></asp:Label>
                    <asp:TextBox ID="txtSecondName" runat="server"></asp:TextBox><br />
                    <asp:Label ID="Label7" runat="server" Text="E-Mail"></asp:Label>
                    <asp:TextBox ID="txtMail" runat="server"></asp:TextBox><br />
                    <asp:Button ID="buttonNextAccount" runat="server" OnClick="buttonNextAccount_Click"
                        Text="Next" /></telerik:RadPageView>
                 
                <telerik:RadPageView ID="PageView1" runat="server">
                    PageView2
                        <asp:Label ID="Label2" runat="server" Text="Hello"></asp:Label>
                    <asp:Button ID="buttonNextAddress" runat="server" OnClick="buttonNextAddress_Click"
                        Text="Next" /></telerik:RadPageView>
                 
                <telerik:RadPageView ID="PageView2" runat="server">
                    PageView3
                        <asp:Label ID="Label3" runat="server" Text="Welcome"></asp:Label><asp:Button ID="buttonNextSubscribe"
                            runat="server" OnClick="buttonNextSubscribe_Click" Text="Next" /></telerik:RadPageView>
                 
                <telerik:RadPageView ID="PageView3" runat="server">
                    PageView4
                        <asp:Label ID="Label4" runat="server" Text="Rad Controls"></asp:Label>
                    <asp:Button ID="buttonNextReg" runat="server" OnClick="buttonNextReg_Click" Text="Next" /></telerik:RadPageView>
                 
            </telerik:RadMultiPage>
        </form>
    </body>
    </html>
Back to Top