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

radtabstrip w\multipage inside updatePanel frozes

0 Answers 44 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Nuno
Top achievements
Rank 1
Nuno asked on 09 Nov 2011, 01:11 PM
Hi.

I have a tabstrip inside a update panel and when it does the postback inside the panel, the tabstrip frozes and I can't select other tabs in the tabstrip.
my page is something like this

<asp:UpdatePanel ID="UpdLocType" runat="server" UpdateMode="Conditional">
 <Triggers>
  <asp:AsyncPostBackTrigger ControlID="gvLocType" EventName="SelectedIndexChanged" />
 </Triggers>
 <ContentTemplate>
  <asp:GridView id="gvLocType" .....
  </asp:GridView>
 </ContentTemplate>
</asp:UpdatePanel> 
<asp:UpdatePanel ID="UpdGroup" runat="server" UpdateMode="Conditional">
 <Triggers>
  <asp:AsyncPostBackTrigger ControlID="gvLocType" EventName="SelectedIndexChanged" />
  <asp:AsyncPostBackTrigger ControlID="gvGroup" EventName="SelectedIndexChanged" />
 </Triggers>
 <ContentTemplate>
  <asp:GridView ID="gvGroup" ......
  </asp:GridView>
 </ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdItems" runat="server" UpdateMode="Conditional" >
 <Triggers>
  <asp:AsyncPostBackTrigger ControlID="gvLocType" EventName="SelectedIndexChanged" />
  <asp:AsyncPostBackTrigger ControlID="gvGroup" EventName="SelectedIndexChanged" />
 </Triggers>
 <ContentTemplate>
  <radTS:RadTabStrip runat="server" ID="familyTabs" Align="left" Skin="Office2007"
                                Width="100%" MultiPageID="itemsMultipage" ReorderTabRows="false" >
  </radTS:RadTabStrip>
  <radTS:RadMultiPage ID="itemsMultipage" runat="server" Height="500" >
  </radTS:RadMultiPage>                             
 </ContentTemplate>
</asp:UpdatePanel>

in the first 2 panels i have a gridview and when selectedindex is fired then updates the panel with the tabstrip. that tabstrip is populated with a datasource and the pageviews are build dinamically  with a sub that ads a gridview to the

pageview. the first time on load it goes well but after that it won't let change the selected tab. can anyone help??

Private Sub setPageViews(ByVal type As Integer, ByVal group As String, ByVal family As String)

 Dim view As New PageView

 For Each Tab As Tab In familyTabs.Tabs 

         gv = New GridView
             ....
  

             gv.DataSource = someDataSouce
             gv.DataBind()
  
            view.ID = Tab.Text
             ab.PageViewID = view.ID
             view.Controls.Add(gv)
             itemsMultipage.PageViews.Add(view)

          

        Next

    End Sub


No answers yet. Maybe you can help?

Tags
TabStrip
Asked by
Nuno
Top achievements
Rank 1
Share this question
or