RadMultiPage, RadTabStrip - All PageViews are being displayed after AJAX Postback - IE 9

4 posts, 0 answers
  1. Brent Hetland
    Brent Hetland avatar
    61 posts
    Member since:
    Aug 2009

    Posted 01 May 2015 Link to this post

    Hi,

    I am using 2015.1.401.40 of your asp.net for ajax controls.

    I have a very odd thing happening and am just looking for suggestions.

    I have a user control that contains a RadTabStrip and a RadMultiPage and several other controls...  I have the SelectedIndex of the TabStrip set to 0, the first tab's Selected property is set to True, and the SelectedIndex of the MultiPage is set to 0.

    This user control is in an ASP Panel that has its visible property set to False.  The user selects some things and then clicks a linkbutton at which time a RadAjaxManager postback occurs.

    When the page loads, the first tab is selected, but all the content from all of the PageViews is displayed.

    If I then click on each tab, only the content for each tab is displayed.  In other words, the RadMultiPage and TabStrip are working properly.

    I use this same asp markup, same layout etc in a different user control, and it works.

    If I set EnableAjax="false" in this control, it also works.

    It also works fine in IE 10 and Chrome and Firefox.

    One odd thing that I notice is that it seems as if the javascript / jQuery (or whatever that is supposed to run that hides the content of the other page views when the page loads) is NOT running.  In fact, no script on that user control is running.  To test that, I put a very basic jQuery(document).ready line of script in the user control that should run as soon as the page loads upon ajax postback, and it doesn't run.

    Q.  Can you think of anything that could be causing something like this?

    Q.  Do you have any troubleshooting ideas for me to try, or any properties I should be setting on any of the controls?  I've stripped the page down as much as I can, and it is still happening.

    I so much dislike older versions of IE...

     

    Thanks,

    Brent

  2. Brent Hetland
    Brent Hetland avatar
    61 posts
    Member since:
    Aug 2009

    Posted 01 May 2015 Link to this post

    I have one more bit of information.

    My first tab contains a RadGrid with Paging turned on.  If I Paging="false" on the grid, then that MultiPage / Tabs work correctly.

    HOWEVER, on my 2nd tab I have a Telerik Report in PrintPreview mode and with paging set to False on the grid, the Telerik Report is not displaying correctly.  It is showing up well below the tab strip and not showing any content, even though the Report controls are there.  It is like the height of the report is zero or something...

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Brent Hetland
    Brent Hetland avatar
    61 posts
    Member since:
    Aug 2009

    Posted 04 May 2015 in reply to Brent Hetland Link to this post

    I want to reiterate one thing:

    If I add a javascript / jQuery function that should run when the page loads (add the javascript to the user control that contains the tab, multipage, grid, reportviewer) the code does NOT run!  And I think that is the crux of the problem since it would seem that some code needs to run for the content to be hidden in the multipage, for the tabs that are not selected.

    To test that, I added the jQuery UI Tabs plug in and the function that needs to run to setup that tabstrip also doesn't run on page load.

    If I set EnableAJAX to false on the rad ajax manager, the tabstrip works however then the report doesn't run until I refresh it.

    If I remove the Telerik ReportViewer, it works.

     

  5. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1800 posts

    Posted 06 May 2015 Link to this post

    Hello Brent,

    Since it seems that you have a rather complex scenario, in order for us to be able to investigate the issue I would like to ask you to open a regular support ticket and provide a very simplified version of the scenario that you have, which replicates the exact same behavior. Thus we will be able to run the project locally and locate the root of the problem.


    Best Regards,
    Konstantin Dikov
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top