Radgrid disappears inside RadMultiPage when sorting

4 posts, 0 answers
  1. Sunil
    Sunil avatar
    29 posts
    Member since:
    Jul 2010

    Posted 12 Mar 2011 Link to this post

    Hi all,

    I've a radgrid inside a radmultipage view. Everything works as it should apart from when I come to sorting. When I click on a sorting header, the radgrid disappears in the radpageview.... Sessionviewstate is enabled in my project... Below is the relevant code and code behind. Does anyone know why this is happening?

    <telerik:RadTabStrip ID="RadTabStrip_Reserved_User_IDs" runat="server" Width="400px" ScrollChildren="false"
                    SelectedIndex="0" Skin="Web20" MultiPageID="RadMultiPage_Terminal_Edit">
                        <telerik:RadTab Text="Reserved IDs: ">
                        <telerik:RadTab Text="Activated IDs:">
                        <telerik:RadTab Text="Reserve an ID:">
                <telerik:RadMultiPage ID="RadMultiPage_Terminal_Edit" runat="server" SelectedIndex="0">
                        <telerik:RadPageView ID="RadPageView_Reserved_IDs" runat="server">
                            <telerik:RadGrid ID="RadGrid_Reserved_IDs" runat="server" AutoGenerateColumns="false" 
                            AllowMultiRowSelection="false" AllowPaging="True" PageSize="10"
                            GridLines="None" CellPadding="0" AllowSorting="true" Skin="Default"
                                <PagerStyle Mode="NextPrevAndNumeric"/>
                                <MasterTableView Width="100%" CommandItemDisplay="Top" GridLines="None" 
                                    <telerik:RadToolBar ID="RadToolBar_Terminals" runat="server" Skin="Default" 
                                            <telerik:RadToolBarButton Text="Edit Reserved ID" Visible="true"
                                             ImageUrl="Images/Edit.gif" runat="server">
                                        <telerik:GridClientSelectColumn UniqueName="Checkbox_Reserved_ID"/>
                                        <telerik:GridTemplateColumn UniqueName="Reserved_ID_Type"
                                                <asp:Literal ID="Literal_Type" runat="server" Text="N/A">
                                        <telerik:GridBoundColumn UniqueName="Reserved_ID_nType" DataField="nType" 
                                        HeaderText="Reserved Type" Visible="false"/>
                                        <telerik:GridBoundColumn UniqueName="Reserved_ID_IndexKey" DataField="IndexKey" 
                                        HeaderText="Reserved ID Index Key" Visible="false"/>
                                        <telerik:GridBoundColumn UniqueName="Reserved_ID_UserName" DataField="UserName" 
                                        HeaderText="Name" SortExpression="UserName"/>
                                        <telerik:GridBoundColumn UniqueName="Reserved_ID_UserID" DataField="UserID" HeaderText="User ID"
                                    <Selecting AllowRowSelect="true"/>


    protected void Page_Load(object sender, EventArgs e)
                if ((Boolean)Session["Page_First_Load"] == true)
              Session["Page_First_Load"] = false;
    protected void Display_Reserved_Users(int rebuild)
                SqlDataSource_Reserved_IDs = new SQL_Data_Source().getSQLDataSource();
                SqlDataSource_Reserved_IDs.SelectCommandType = SqlDataSourceCommandType.StoredProcedure;
                SqlDataSource_Reserved_IDs.SelectCommand = "OnTime_sp_Reserved_User_List";
                SqlDataSource_Reserved_IDs.SelectParameters.Add("Param_Customer_ID_Ref", (string)Session["User_Belongs_To_Customer_Ref_ID"]);
                SqlDataSource_Reserved_IDs.SelectParameters.Add("Param_Company_ID_Ref", (string)Session["User_Belongs_To_Company_Ref_ID"]);
                RadGrid_Reserved_IDs.DataSource = SqlDataSource_Reserved_IDs;
                if (rebuild == 1)

  2. Sunil
    Sunil avatar
    29 posts
    Member since:
    Jul 2010

    Posted 14 Mar 2011 Link to this post

  3. DevCraft R3 2016 release webinar banner
  4. Kate
    Kate avatar
    1898 posts

    Posted 15 Mar 2011 Link to this post

    Hi Sunil,

    I tried the scenario that you describe but I do not get that behaviour. I have attached a working project. Please check it and modify it in a way that the problem appears, so we can help you resolve it.

    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  5. Jesse
    Jesse avatar
    1 posts
    Member since:
    Dec 2012

    Posted 05 Dec 2012 Link to this post

    I have same issue. When session dead, if you click any column header, the whole grid will dispear. You need reload the page.
Back to Top