Rotator breaks wizard

3 posts, 0 answers
  1. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 09 Mar 2009 Link to this post


    I have a rotator in the top section of my masterpage.
    It looked goot - till our customer argued about "script errors" on some pages.

    We found out that this happens on pages with asp:wizard -- and there on further steps.
    So I open a page with a wizzard - looks good.
    I click continue for the next step -- and get the script error.
    It takes some time to get the error - looks like the error comes when the rotator scrolls.

    I reduced everything so left is a rotator (normaly displaying a user control) only shwoning a string.

    The rotator definition looks like this:

        <telerik:RadRotator ID="rrRot" runat="server" PauseOnMouseOver="false" OnItemClick="rrRot_ItemClick" Width="650px" Height="120px" FrameDuration="4000" > 
                            <div class="rotItemTemplate">  
                                <%# Eval("ObjectID") %> 
    Codebhind does (now) nothing than
        string[] straS = { "Sau1", "Sau2", "Sau3", "Sau4", "Sau5", "Sau6", "Sau7", "Sau8", "Sau9" };   
            private void RebindRotator() {  
                DataTable rotatorData = new DataTable();  
                foreach (string strX in straS) {  
                rrRot.DataSource = rotatorData;  
                //rrRot.OnClientItemShown = "OnItemShown";  
    RebindRotator is called on every page load.
    Before it was inside if(!IsPostback) -- but with this I loose my binding on wizard pages.
    The same as when the error occures - OK on the first step - no data on following steps.

    The "reson" for this has something to do with "SmartNavigaton".
    When I remove this from the pages tag in web.config the rotator works like expected.

    Is there a workaround to have smartnavigation enabled with RadRotator?



  2. Fiko
    Fiko avatar
    1406 posts

    Posted 10 Mar 2009 Link to this post

    Hi Manfred Pohler,

    The problem that you experience is not directly related to the RadRotator control. As you see in the links bellow this is a common ASP.NET issue and I do not recommend you to enable the smartNavigation functionality in the page where you use our ASP.NET AJAX controls ( or any AJAX controls).

    I hope this helps.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. DevCraft R3 2016 release webinar banner
  4. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 10 Mar 2009 Link to this post

    Thank you for this information.
    I'm the lucky guy - I never ran in any problems with it till now :)

    Anyhow - a page transition can also reduce page flickering - and makes no problems.


Back to Top