asp:Wizard vs. RadTabStrip

4 posts, 0 answers
  1. GISWebDev
    GISWebDev avatar
    11 posts
    Member since:
    Feb 2008

    Posted 14 Mar 2011 Link to this post

    Currently have a asp:Wizard control performing fine when wrapped in an asp:Panel, however, once wrapped in a RadAjaxPanel it errors out.  The UI design requires that the DisplaySideBar="false" so we are not interested in showing tabs, as former posts refer to using the Telerik Wizard demo sample.

    Can anyone point out an item we may be overlooking?

    The asp:Wizard sits inside a RadAjaxPanel in a WebUserControl.ascx.  This WebUserControl.ascx is then part of a webform which sits inside a masterpage.  Remember, when wrapped in an asp:Panel the page works just fine.

    Below is the stubbed out templates for the asp:Wizard control inside the .ascx file:
         <telerik:RadAjaxPanel ID="panelwInterview" CssClass="panelsASP" Wrap="False" runat="server" Height="350px" Width="100%">
    <asp:Wizard ID="WizardInterview" runat="server" Height="100%"
                Width="100%" ActiveStepIndex="0" BorderStyle="None">               
                <asp:ValidationSummary ID="ValidationSummaryInterview" runat="server" BorderStyle="None" DisplayMode="SingleParagraph"
                    HeaderText="Please correct the following:" ShowMessageBox="True" />
            <telerik:RadButton ID="StepNextButton" runat="server" CommandName="MoveNext" Text="Next Question" CausesValidation="False">
            <telerik:RadButton ID="StepPreviousButton" runat="server" CausesValidation="False"
                               CommandName="MovePrevious" Text="Previous Question">
            <telerik:RadButton ID="StepNextButton" runat="server" CommandName="MoveNext" Text="Next Question">
            <telerik:RadButton ID="FinishPreviousButton" CausesValidation="False"
                               CommandName="MovePrevious" Text="Previous" runat="server">
            <telerik:RadButton ID="FinishButton" CommandName="MoveComplete"
                               Text="Finish" runat="server">

    Much Thanks.
  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 14 Mar 2011 Link to this post

    Hello Ripsin,

    Does you wizard control affect any other controls on the page that aren't contained in the RadAjaxPanel? Or does it try to upload or output files? Those are pretty much the only things I can think of that would cause it display errors.
  3. Kate
    Kate avatar
    1898 posts

    Posted 16 Mar 2011 Link to this post

    Hi Ripsin,

    I inspected the problen in the scenario that you describe and it seems that issue comes from the RadButton. However, we will need more time to inspect it thoroughly and we will write you as soon as we come up with a suitable solution.

    All the best,
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  4. Marin
    Marin avatar
    1057 posts

    Posted 17 Mar 2011 Link to this post

    Hello Ripsin,

    We investigated the issue and it turns out that this particular scenario is not supported by RadAjaxPanel (and RadAjaxManager).
    The error occurs when you have a RadAjax Control (e.g. RadButton) inside a Wizard control, that is inside a RadAjaxPanel. This happens because when you change between different steps in the wizards control the RadControl in the template for the previous step has already been registered by the script manager and it tries to create its client object on PreRender event, but the wizard step has already changed hence the RadControl cannot be found and an error is raised.
    One possible workaround is to use the standard ASP.NET Update panel.

    the Telerik team
Back to Top