Access control from other tab

3 posts, 0 answers
  1. Marcin Marcin
    Marcin Marcin avatar
    2 posts
    Member since:
    Jul 2009

    Posted 09 Oct 2009 Link to this post

    I have several tabs. On each tab I placed my control. When I change date on first tab I would like to refresh grid on second tab. Is is possible?
    Code looks like:
        <telerik:RadTabStrip ID="CtrlTabStripAccount" CausesValidation="false"  OnClientTabSelecting="onTabSelecting"
            runat="server" MultiPageID="CtrlPageMultiAccount" ShowBaseLine="true"  Skin="Vista"
                <telerik:RadTab runat="server" Text="Kanały dostępy" Selected="true" ImageUrl="~/App_Themes/EcodTheme/Icons/inbox.gif" />
                <telerik:RadTab runat="server" Text="Zmiana hasła" ImageUrl="~/App_Themes/EcodTheme/Icons/outbox.gif" />
                <telerik:RadTab runat="server" Text="Zarządzanie adresami" ImageUrl="~/App_Themes/EcodTheme/Icons/relations.gif" />
        <telerik:RadMultiPage ID="CtrlPageMultiAccount" runat="server" SelectedIndex="0"
            <!-- my control 1 -->
            <telerik:RadPageView ID="CtrlAccessChannels" runat="server" Selected="true">
                <div class="BoxOutermost">
                    <ecod:Channels ID="CtrlChannels" runat="server" />
            <!-- my control 2-->
            <telerik:RadPageView ID="CtrlPassword" runat="server" Selected="true">
                <div class="BoxOutermost">
                    <ecod:Password ID="ChPassword" runat="server" />
            <!-- my control 3-->
            <telerik:RadPageView ID="CtrlAddresses" runat="server" Selected="true">
                <div class="BoxOutermostBig">
                    <ecod:Addresses ID="Addresses" runat="server" />
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 09 Oct 2009 Link to this post

    Hi Marcin,

    I guess you have placed the RadDatePicker Control in first pageView and second pageview contains the RadGrid and want to refresh the grid on selecting the date. You can do it by attaching SelectedDateChanged for RadDatePicker and executng the Rebind() method in he event handler.

    protected void RadDatePicker1_SelectedDateChanged(object sender, Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs e) 
        // Set the DataSource 

  3. Paul
    Paul avatar
    4281 posts

    Posted 09 Oct 2009 Link to this post

    Hi Marcin Marcin,

    As you are using the RenderSelectedPageOnly property of RadMultipage, this means that only the visible PageView (and its controls) are rendered on the page. That said, you can access the grid in the other pageview on the server only.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top