Weird ?: MultiPage Disappearing When Added to RadAjax

2 posts, 0 answers
  1. James
    James avatar
    55 posts
    Member since:
    Oct 2011

    Posted 24 Feb 2012 Link to this post

    Hi,

    Weird problem.  Here is what I am trying to do:  On the drop of a node, change my tab by setting the SelectedIndex of my TabStrip and Multipage to a selected value.  Specifically, I expect the code to work as follows:

    1. The node is dropped.
    2. I run the following code on the server:
    3. RadTabStrip1.SelectedIndex = 3
      RadMultiPage1.SelectedIndex = 3
    4. The Ajax Manager catches the change of the TabStrip and MultiPage.
    5. And then moves to the correct tab.

    However, when just the TabStrip is added to the Ajax manager, the tab changes but the MultiPage does not (See screen shot one.).  When the MultiPage is added to the Ajax manager, the PageView disappears entirely (See screen shot two.).  Crazy.  I've also tried this version of the server side code:

    RadTabStrip1.Tabs.Item(CInt(myTab)).Selected = True
    RadMultiPage1.SelectedIndex = CInt(myTab)


    I'm pretty sure my server side code is correct, as I've tested it every which way but loose.  Any ideas?

    For reference, here is the .aspx of my TabStrip, etc. (Sorry it is so long.  Big app.):

    <telerik:RadTabStrip runat="server" ID="RadTabStrip1" MultiPageID="RadMultiPage1" SelectedIndex="0" EnableEmbeddedSkins="false" Skin="Fastport">
        <Tabs>
            <telerik:RadTab runat="server" Text="1. General" PageViewID="PageView1">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="2. Equipment" PageViewID="PageView2">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="3. Cargo" PageViewID="PageView3">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="4. Regions" PageViewID="PageView4">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="5. Pay" PageViewID="PageView5">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="6. Benefits" PageViewID="PageView6">
            </telerik:RadTab>
            <telerik:RadTab runat="server" Text="7. Values" PageViewID="PageView7">
            </telerik:RadTab>
        </Tabs>
    </telerik:RadTabStrip>
    <telerik:RadMultiPage runat="server" ID="RadMultiPage1" SelectedIndex="0" RenderSelectedPageOnly="false">
        <telerik:RadPageView runat="server" ID="PageView1">
            <telerik:RadGrid ID="ExpRadGrid" runat="server" AutoGenerateColumns="False" OnItemDataBound="ExpRadGrid_ItemDataBound" CellSpacing="0" DataSourceID="ExpDS" GridLines="None" CssClass="RemoveBorders" EnableEmbeddedSkins="false" Skin="Fastport" ShowHeader="False">
                <ClientSettings>
                    <ClientEvents OnRowMouseOver="onRowMouseOver" />
                </ClientSettings>
                <MasterTableView DataKeyNames="PartyExperienceID" ClientDataKeyNames="PartyExperienceID" DataSourceID="ExpDS">
                    <Columns>
                        <telerik:GridBoundColumn DataField="PartyExperienceID" DataType="System.Int32" FilterControlAltText="Filter PartyExperienceID column" HeaderText="PartyExperienceID" ReadOnly="True" SortExpression="PartyExperienceID" UniqueName="PartyExperienceID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PartyID" DataType="System.Int32" UniqueName="PartyID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Importance" DataType="System.Int32" UniqueName="Importance" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridHTMLEditorColumn DataField="ItemImage" FilterControlAltText="Filter ItemImage column" UniqueName="ItemImage">
                        </telerik:GridHTMLEditorColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Importance" UniqueName="TemplateColumn">
                            <ItemTemplate>
                                <telerik:RadSlider ID="RadSlider2" runat="server" ItemType="item" CssClass="ItemsSlider" OnClientSlideEnd="OnClientSlideEnd" OnClientValueChanging="OnClientValueChanging" ShowDecreaseHandle="false" ShowIncreaseHandle="false" Height="75" Width="225px" EnableEmbeddedSkins="false" Skin="Fastport">
                                    <Items>
                                        <telerik:RadSliderItem Text="Low" Value="0" />
                                        <telerik:RadSliderItem Text="" Value="1" />
                                        <telerik:RadSliderItem Text="Medium" Value="2" />
                                        <telerik:RadSliderItem Text="" Value="3" />
                                        <telerik:RadSliderItem Text="Critical" Value="4" />
                                    </Items>
                                </telerik:RadSlider>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridHTMLEditorColumn DataField="DeleteButton" FilterControlAltText="Filter DeleteButton column" UniqueName="DeleteButton">
                        </telerik:GridHTMLEditorColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
            <asp:SqlDataSource ID="ExpDS" runat="server" ConnectionString="<%$ ConnectionStrings:DatabaseFASTPORT1 %>" SelectCommand="SELECT * FROM [v_PartyExperience] WHERE (([PartyID] = @ExpPartyID) AND ([ExperienceParentID] = @ExpParentID)) ORDER BY [ExperienceRank], [PartyExperienceID]">
                <SelectParameters>
                    <asp:ControlParameter ControlID="HiddenTB_PartyID" Name="ExpPartyID" PropertyName="Text" Type="Int32" />
                    <asp:Parameter DefaultValue="743" Name="ExpParentID" Type="Int32" />
                </SelectParameters>
            </asp:SqlDataSource>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" ID="PageView2">
            <telerik:RadGrid ID="EquipRadGrid" runat="server" AutoGenerateColumns="False" OnItemDataBound="EquipRadGrid_ItemDataBound" CellSpacing="0" DataSourceID="EquipDS" GridLines="None" CssClass="RemoveBorders" EnableEmbeddedSkins="false" Skin="Fastport" ShowHeader="False">
                <ClientSettings>
                    <ClientEvents OnRowMouseOver="onRowMouseOver" />
                </ClientSettings>
                <MasterTableView DataKeyNames="PartyExperienceID" ClientDataKeyNames="PartyExperienceID" DataSourceID="EquipDS">
                    <Columns>
                        <telerik:GridBoundColumn DataField="PartyExperienceID" DataType="System.Int32" FilterControlAltText="Filter PartyExperienceID column" HeaderText="PartyExperienceID" ReadOnly="True" SortExpression="PartyExperienceID" UniqueName="PartyExperienceID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PartyID" DataType="System.Int32" UniqueName="PartyID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Importance" DataType="System.Int32" UniqueName="Importance" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridHTMLEditorColumn DataField="ItemImage" FilterControlAltText="Filter ItemImage column" UniqueName="ItemImage">
                        </telerik:GridHTMLEditorColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Importance" UniqueName="TemplateColumn">
                            <ItemTemplate>
                                <telerik:RadSlider ID="RadSlider3" runat="server" ItemType="item" CssClass="ItemsSlider" OnClientSlideEnd="OnClientSlideEnd" OnClientValueChanging="OnClientValueChanging" ShowDecreaseHandle="false" ShowIncreaseHandle="false" Height="75" Width="225px" EnableEmbeddedSkins="false" Skin="Fastport">
                                    <Items>
                                        <telerik:RadSliderItem Text="Low" Value="0" />
                                        <telerik:RadSliderItem Text="" Value="1" />
                                        <telerik:RadSliderItem Text="Medium" Value="2" />
                                        <telerik:RadSliderItem Text="" Value="3" />
                                        <telerik:RadSliderItem Text="Critical" Value="4" />
                                    </Items>
                                </telerik:RadSlider>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridHTMLEditorColumn DataField="DeleteButton" FilterControlAltText="Filter DeleteButton column" UniqueName="DeleteButton">
                        </telerik:GridHTMLEditorColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
            <asp:SqlDataSource ID="EquipDS" runat="server" ConnectionString="<%$ ConnectionStrings:DatabaseFASTPORT1 %>" SelectCommand="SELECT * FROM [v_PartyExperience] WHERE (([PartyID] = @EquipPartyID) AND ([ExperienceParentID] = @EquipExpParentID)) ORDER BY [ExperienceRank], [PartyExperienceID]">
                <SelectParameters>
                    <asp:ControlParameter ControlID="HiddenTB_PartyID" Name="EquipPartyID" PropertyName="Text" Type="Int32" />
                    <asp:Parameter DefaultValue="389" Name="EquipExpParentID" Type="Int32" />
                </SelectParameters>
            </asp:SqlDataSource>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" ID="PageView3">
            <telerik:RadGrid ID="CargoRadGrid" runat="server" AutoGenerateColumns="False" OnItemDataBound="CargoRadGrid_ItemDataBound" CellSpacing="0" DataSourceID="CargoDS" GridLines="None" CssClass="RemoveBorders" EnableEmbeddedSkins="false" Skin="Fastport" ShowHeader="False">
                <ClientSettings>
                    <ClientEvents OnRowMouseOver="onRowMouseOver" />
                </ClientSettings>
                <MasterTableView DataKeyNames="PartyExperienceID" ClientDataKeyNames="PartyExperienceID" DataSourceID="CargoDS">
                    <Columns>
                        <telerik:GridBoundColumn DataField="PartyExperienceID" DataType="System.Int32" FilterControlAltText="Filter PartyExperienceID column" HeaderText="PartyExperienceID" ReadOnly="True" SortExpression="PartyExperienceID" UniqueName="PartyExperienceID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PartyID" DataType="System.Int32" UniqueName="PartyID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Importance" DataType="System.Int32" UniqueName="Importance" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridHTMLEditorColumn DataField="ItemImage" FilterControlAltText="Filter ItemImage column" UniqueName="ItemImage">
                        </telerik:GridHTMLEditorColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Importance" UniqueName="TemplateColumn">
                            <ItemTemplate>
                                <telerik:RadSlider ID="RadSlider4" runat="server" ItemType="item" CssClass="ItemsSlider" OnClientSlideEnd="OnClientSlideEnd" OnClientValueChanging="OnClientValueChanging" ShowDecreaseHandle="false" ShowIncreaseHandle="false" Height="75" Width="225px" EnableEmbeddedSkins="false" Skin="Fastport">
                                    <Items>
                                        <telerik:RadSliderItem Text="Low" Value="0" />
                                        <telerik:RadSliderItem Text="" Value="1" />
                                        <telerik:RadSliderItem Text="Medium" Value="2" />
                                        <telerik:RadSliderItem Text="" Value="3" />
                                        <telerik:RadSliderItem Text="Critical" Value="4" />
                                    </Items>
                                </telerik:RadSlider>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridHTMLEditorColumn DataField="DeleteButton" FilterControlAltText="Filter DeleteButton column" UniqueName="DeleteButton">
                        </telerik:GridHTMLEditorColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
            <asp:SqlDataSource ID="CargoDS" runat="server" ConnectionString="<%$ ConnectionStrings:DatabaseFASTPORT1 %>" SelectCommand="SELECT * FROM [v_PartyExperience] WHERE (([PartyID] = @CargoPartyID) AND ([ExperienceParentID] = @CargoExpParentID)) ORDER BY [ExperienceRank], [PartyExperienceID]">
                <SelectParameters>
                    <asp:ControlParameter ControlID="HiddenTB_PartyID" Name="CargoPartyID" PropertyName="Text" Type="Int32" />
                    <asp:Parameter DefaultValue="666" Name="CargoExpParentID" Type="Int32" />
                </SelectParameters>
            </asp:SqlDataSource>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" ID="PageView4">
            <telerik:RadGrid ID="RegionsRadGrid" runat="server" AutoGenerateColumns="False" OnItemDataBound="RegionsRadGrid_ItemDataBound" CellSpacing="0" DataSourceID="RegionsDS" GridLines="None" CssClass="RemoveBorders" EnableEmbeddedSkins="false" Skin="Fastport" ShowHeader="False">
                <ClientSettings>
                    <ClientEvents OnRowMouseOver="onRowMouseOver" />
                </ClientSettings>
                <MasterTableView DataKeyNames="PartyExperienceID" ClientDataKeyNames="PartyExperienceID" DataSourceID="RegionsDS">
                    <Columns>
                        <telerik:GridBoundColumn DataField="PartyExperienceID" DataType="System.Int32" FilterControlAltText="Filter PartyExperienceID column" HeaderText="PartyExperienceID" ReadOnly="True" SortExpression="PartyExperienceID" UniqueName="PartyExperienceID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PartyID" DataType="System.Int32" UniqueName="PartyID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Importance" DataType="System.Int32" UniqueName="Importance" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridHTMLEditorColumn DataField="ItemImage" FilterControlAltText="Filter ItemImage column" UniqueName="ItemImage">
                        </telerik:GridHTMLEditorColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Importance" UniqueName="TemplateColumn">
                            <ItemTemplate>
                                <telerik:RadSlider ID="RadSlider5" runat="server" ItemType="item" CssClass="ItemsSlider" OnClientSlideEnd="OnClientSlideEnd" OnClientValueChanging="OnClientValueChanging" ShowDecreaseHandle="false" ShowIncreaseHandle="false" Height="75" Width="225px" EnableEmbeddedSkins="false" Skin="Fastport">
                                    <Items>
                                        <telerik:RadSliderItem Text="Low" Value="0" />
                                        <telerik:RadSliderItem Text="" Value="1" />
                                        <telerik:RadSliderItem Text="Medium" Value="2" />
                                        <telerik:RadSliderItem Text="" Value="3" />
                                        <telerik:RadSliderItem Text="Critical" Value="4" />
                                    </Items>
                                </telerik:RadSlider>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridHTMLEditorColumn DataField="DeleteButton" FilterControlAltText="Filter DeleteButton column" UniqueName="DeleteButton">
                        </telerik:GridHTMLEditorColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
            <asp:SqlDataSource ID="RegionsDS" runat="server" ConnectionString="<%$ ConnectionStrings:DatabaseFASTPORT1 %>" SelectCommand="SELECT * FROM [v_PartyExperience] WHERE (([PartyID] = @RegionsPartyID) AND ([ExperienceParentID] = @RegionsExpParentID)) ORDER BY [ExperienceRank], [PartyExperienceID]">
                <SelectParameters>
                    <asp:ControlParameter ControlID="HiddenTB_PartyID" Name="RegionsPartyID" PropertyName="Text" Type="Int32" />
                    <asp:Parameter DefaultValue="741" Name="RegionsExpParentID" Type="Int32" />
                </SelectParameters>
            </asp:SqlDataSource>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" ID="PageView5">
                <telerik:RadGrid ID="PayRadGrid" runat="server" AutoGenerateColumns="False" OnItemDataBound="PayRadGrid_ItemDataBound" CellSpacing="0" DataSourceID="PayDS" GridLines="None" CssClass="RemoveBorders" EnableEmbeddedSkins="false" Skin="Fastport" ShowHeader="False">
                <ClientSettings>
                    <ClientEvents OnRowMouseOver="onRowMouseOver" />
                </ClientSettings>
                <MasterTableView DataKeyNames="PartyExperienceID" ClientDataKeyNames="PartyExperienceID" DataSourceID="PayDS">
                    <Columns>
                        <telerik:GridBoundColumn DataField="PartyExperienceID" DataType="System.Int32" FilterControlAltText="Filter PartyExperienceID column" HeaderText="PartyExperienceID" ReadOnly="True" SortExpression="PartyExperienceID" UniqueName="PartyExperienceID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PartyID" DataType="System.Int32" UniqueName="PartyID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Importance" DataType="System.Int32" UniqueName="Importance" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridHTMLEditorColumn DataField="ItemImage" FilterControlAltText="Filter ItemImage column" UniqueName="ItemImage">
                        </telerik:GridHTMLEditorColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Importance" UniqueName="TemplateColumn">
                            <ItemTemplate>
                                <telerik:RadSlider ID="RadSlider6" runat="server" ItemType="item" CssClass="ItemsSlider" OnClientSlideEnd="OnClientSlideEnd" OnClientValueChanging="OnClientValueChanging" ShowDecreaseHandle="false" ShowIncreaseHandle="false" Height="75" Width="225px" EnableEmbeddedSkins="false" Skin="Fastport">
                                    <Items>
                                        <telerik:RadSliderItem Text="Low" Value="0" />
                                        <telerik:RadSliderItem Text="" Value="1" />
                                        <telerik:RadSliderItem Text="Medium" Value="2" />
                                        <telerik:RadSliderItem Text="" Value="3" />
                                        <telerik:RadSliderItem Text="Critical" Value="4" />
                                    </Items>
                                </telerik:RadSlider>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridHTMLEditorColumn DataField="DeleteButton" FilterControlAltText="Filter DeleteButton column" UniqueName="DeleteButton">
                        </telerik:GridHTMLEditorColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
            <asp:SqlDataSource ID="PayDS" runat="server" ConnectionString="<%$ ConnectionStrings:DatabaseFASTPORT1 %>" SelectCommand="SELECT * FROM [v_PartyExperience] WHERE (([PartyID] = @PayPartyID) AND ([ExperienceParentID] = @PayExpParentID)) ORDER BY [ExperienceRank], [PartyExperienceID]">
                <SelectParameters>
                    <asp:ControlParameter ControlID="HiddenTB_PartyID" Name="PayPartyID" PropertyName="Text" Type="Int32" />
                    <asp:Parameter DefaultValue="851" Name="PayExpParentID" Type="Int32" />
                </SelectParameters>
            </asp:SqlDataSource>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" ID="PageView6">
            <telerik:RadGrid ID="BenefitsRadGrid" runat="server" AutoGenerateColumns="False" OnItemDataBound="BenefitsRadGrid_ItemDataBound" CellSpacing="0" DataSourceID="BenefitsDS" GridLines="None" CssClass="RemoveBorders" EnableEmbeddedSkins="false" Skin="Fastport" ShowHeader="False">
                <ClientSettings>
                    <ClientEvents OnRowMouseOver="onRowMouseOver" />
                </ClientSettings>
                <MasterTableView DataKeyNames="PartyExperienceID" ClientDataKeyNames="PartyExperienceID" DataSourceID="BenefitsDS">
                    <Columns>
                        <telerik:GridBoundColumn DataField="PartyExperienceID" DataType="System.Int32" FilterControlAltText="Filter PartyExperienceID column" HeaderText="PartyExperienceID" ReadOnly="True" SortExpression="PartyExperienceID" UniqueName="PartyExperienceID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PartyID" DataType="System.Int32" UniqueName="PartyID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Importance" DataType="System.Int32" UniqueName="Importance" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridHTMLEditorColumn DataField="ItemImage" FilterControlAltText="Filter ItemImage column" UniqueName="ItemImage">
                        </telerik:GridHTMLEditorColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Importance" UniqueName="TemplateColumn">
                            <ItemTemplate>
                                <telerik:RadSlider ID="RadSlider7" runat="server" ItemType="item" CssClass="ItemsSlider" OnClientSlideEnd="OnClientSlideEnd" OnClientValueChanging="OnClientValueChanging" ShowDecreaseHandle="false" ShowIncreaseHandle="false" Height="75" Width="225px" EnableEmbeddedSkins="false" Skin="Fastport">
                                    <Items>
                                        <telerik:RadSliderItem Text="Low" Value="0" />
                                        <telerik:RadSliderItem Text="" Value="1" />
                                        <telerik:RadSliderItem Text="Medium" Value="2" />
                                        <telerik:RadSliderItem Text="" Value="3" />
                                        <telerik:RadSliderItem Text="Critical" Value="4" />
                                    </Items>
                                </telerik:RadSlider>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridHTMLEditorColumn DataField="DeleteButton" FilterControlAltText="Filter DeleteButton column" UniqueName="DeleteButton">
                        </telerik:GridHTMLEditorColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
            <asp:SqlDataSource ID="BenefitsDS" runat="server" ConnectionString="<%$ ConnectionStrings:DatabaseFASTPORT1 %>" SelectCommand="SELECT * FROM [v_PartyExperience] WHERE (([PartyID] = @BenefitsPartyID) AND ([ExperienceParentID] = @BenefitsExpParentID)) ORDER BY [ExperienceRank], [PartyExperienceID]">
                <SelectParameters>
                    <asp:ControlParameter ControlID="HiddenTB_PartyID" Name="BenefitsPartyID" PropertyName="Text" Type="Int32" />
                    <asp:Parameter DefaultValue="852" Name="BenefitsExpParentID" Type="Int32" />
                </SelectParameters>
            </asp:SqlDataSource>
        </telerik:RadPageView>
        <telerik:RadPageView runat="server" ID="PageView7">
            <telerik:RadGrid ID="ValuesRadGrid" runat="server" AutoGenerateColumns="False" OnItemDataBound="ValuesRadGrid_ItemDataBound" CellSpacing="0" DataSourceID="ValuesDS" GridLines="None" CssClass="RemoveBorders" EnableEmbeddedSkins="false" Skin="Fastport" ShowHeader="False">
                <ClientSettings>
                    <ClientEvents OnRowMouseOver="onRowMouseOver" />
                </ClientSettings>
                <MasterTableView DataKeyNames="PartyExperienceID" ClientDataKeyNames="PartyExperienceID" DataSourceID="ValuesDS">
                    <Columns>
                        <telerik:GridBoundColumn DataField="PartyExperienceID" DataType="System.Int32" FilterControlAltText="Filter PartyExperienceID column" HeaderText="PartyExperienceID" ReadOnly="True" SortExpression="PartyExperienceID" UniqueName="PartyExperienceID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="PartyID" DataType="System.Int32" UniqueName="PartyID" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Importance" DataType="System.Int32" UniqueName="Importance" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName" Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridHTMLEditorColumn DataField="ItemImage" FilterControlAltText="Filter ItemImage column" UniqueName="ItemImage">
                        </telerik:GridHTMLEditorColumn>
                        <telerik:GridBoundColumn DataField="ItemName" UniqueName="ItemName">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn HeaderText="Importance" UniqueName="TemplateColumn">
                            <ItemTemplate>
                                <telerik:RadSlider ID="RadSlider1" runat="server" ItemType="item" CssClass="ItemsSlider" OnClientSlideEnd="OnClientSlideEnd" OnClientValueChanging="OnClientValueChanging" ShowDecreaseHandle="false" ShowIncreaseHandle="false" Height="75" Width="225px" EnableEmbeddedSkins="false" Skin="Fastport">
                                    <Items>
                                        <telerik:RadSliderItem Text="Low" Value="0" />
                                        <telerik:RadSliderItem Text="" Value="1" />
                                        <telerik:RadSliderItem Text="Medium" Value="2" />
                                        <telerik:RadSliderItem Text="" Value="3" />
                                        <telerik:RadSliderItem Text="Critical" Value="4" />
                                    </Items>
                                </telerik:RadSlider>
                            </ItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridHTMLEditorColumn DataField="DeleteButton" FilterControlAltText="Filter DeleteButton column" UniqueName="DeleteButton">
                        </telerik:GridHTMLEditorColumn>
                    </Columns>
                </MasterTableView>
            </telerik:RadGrid>
            <asp:SqlDataSource ID="ValuesDS" runat="server" ConnectionString="<%$ ConnectionStrings:DatabaseFASTPORT1 %>" SelectCommand="SELECT * FROM [v_PartyExperience] WHERE (([PartyID] = @ValuesPartyID) AND ([ExperienceParentID] = @ValuesExpParentID)) ORDER BY [ExperienceRank], [PartyExperienceID]">
                <SelectParameters>
                    <asp:ControlParameter ControlID="HiddenTB_PartyID" Name="ValuesPartyID" PropertyName="Text" Type="Int32" />
                    <asp:Parameter DefaultValue="853" Name="ValuesExpParentID" Type="Int32" />
                </SelectParameters>
            </asp:SqlDataSource>
        </telerik:RadPageView>
    </telerik:RadMultiPage>

    Here is my AjaxManager:

    <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="SearchComboBox" />
                    <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                    <telerik:AjaxUpdatedControl ControlID="ExpRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="RegionsRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="EquipRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="PayRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="CargoRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="BenefitsRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="ValuesRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="SearchComboBox">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="SearchComboBox" />
                    <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadTreeView1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                    <telerik:AjaxUpdatedControl ControlID="ExpRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="RegionsRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="EquipRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="PayRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="CargoRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="BenefitsRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="ValuesRadGrid" />
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                    <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

    Thanks so much for any help you can give.

    Jim
  2. James
    James avatar
    55 posts
    Member since:
    Oct 2011

    Posted 24 Feb 2012 Link to this post

    I figured it out.  It is that mystical RadAjaxManager.  It didn't want the Grid referenced directly.  It only wanted the pages referenced within the MultiPage control.  Like this:

    <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="RadTreeView1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadTreeView1" />
                            <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />
                            <telerik:AjaxUpdatedControl ControlID="RadMultiPage1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top