Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Tabstrip > Show Loading Panel on TabStrip with load on Demand Pageview
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Show Loading Panel on TabStrip with load on Demand Pageview

Feed from this thread
  • Prava kafle Intermediate avatar

    Posted on Apr 5, 2011 (permalink)

    Hi,
    I am trying to display another page in pageview.  I followed "http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/loadondemand/defaultcs.aspx" as a reference, the only difference in my code is; instead of loading UserControls on demand I am setting  Content URL of a page view to external page .

    If I use Usercontrol, loading panel is visible until the request ends. However, if I set pageview.contentUrl = "page1.aspx"  loading Panel is visible for a while and it disappears even before the contents of the external page are loaded. How can I show loading panel until the external page is completely loaded.


    I am also changing background color of selected Tabs by setting SelectedCssClass="SelectedTab".   "SelectedTab" cssclass is implemented only on post back, how can I use it  on On initial page load. On initial page load first tab is selected but  for some reason it doesn't show style  set in  SelectedCssClass.

     <style type="css">  
      .rtsSelected , .rtsSelected span
                    {
                       background:url(../Images/btnUpdate.jpg) no-repeat 0 100%  !important;
                       background-color: transparent !important;
                       text-align: center;
                    }
    .SelectedTab
    {
         background:url(../Images/btnUpdate.jpg) no-repeat 0 100%  !important;
        background-color:#ADA96E !important;
    }
     </style> 

      <telerik:RadTabStrip  ID="RadTabStrip1" runat="server"  Width="100%"  Height="100%"  Skin="Hay"
               MultiPageID="RadMultiPage1" ontabclick="RadTabStrip1_TabClick"   AutoPostBack="true" Align="Justify" SelectedCssClass="SelectedTab"   >  
      <Tabs>
            <telerik:RadTab runat="server" Text="Child RadTab 3"  SelectedCssClass="SelectedTab">
             </telerik:RadTab>
              <telerik:RadTab runat="server" Text="Child RadTab 4"  SelectedCssClass="SelectedTab">
              </telerik:RadTab>
      </Tabs>
     </telerik:RadTabStrip>

               

    Thanks,
    Prava

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Tabstrip > Show Loading Panel on TabStrip with load on Demand Pageview