This is a migrated thread and some comments may be shown as answers.

RadPageView rendered even if visible=false

1 Answer 56 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Patrik Johansson
Top achievements
Rank 1
Patrik Johansson asked on 18 Apr 2011, 01:34 PM
(Since there is no forum for RadMultiPage what I know, I post here)

We have a RadPageView that is set to false in our RadMultiPage (and in the RadTabStrip), but despite this, the PageLoad etc. is exectued when the page is loaded, is this really correct behaviour? I know the RadMultiPage initiates all page views, even if you use RenderOnlySelectedPage, but invisible page views should not be initialized no matter what, right?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 21 Apr 2011, 03:48 PM
Hello Patrik,

Can you send us the code of your test scenario?

For example, with the following setup, only page view A and C render, but not page view B, which is expected.
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1">
      <Tabs>
          <telerik:RadTab runat="server" Text="Root RadTab1">
          </telerik:RadTab>
          <telerik:RadTab runat="server" Text="Root RadTab2">
          </telerik:RadTab>
          <telerik:RadTab runat="server" Text="Root RadTab3">
          </telerik:RadTab>
      </Tabs>
  </telerik:RadTabStrip>
  <telerik:RadMultiPage ID="RadMultiPage1" runat="server" >
      <telerik:RadPageView ID="RadPageView1" runat="server">
          A
      </telerik:RadPageView>
      <telerik:RadPageView ID="RadPageView2" runat="server" Visible="false">
          B
      </telerik:RadPageView>
      <telerik:RadPageView ID="RadPageView3" runat="server">
          C
      </telerik:RadPageView>
  </telerik:RadMultiPage>



Kind regards,
Peter
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TabStrip
Asked by
Patrik Johansson
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or