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

Problem Grouping on client side

2 Answers 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Sadiq
Top achievements
Rank 1
Sadiq asked on 27 Oct 2010, 09:22 PM
Hello,
I can not get the Grouping to work on client side. The page always end up posting back after I drag a column to the grouping area.
Column reordering works fine on the client-side...
 
What am i missing here? 

-Sadiq.


<
body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="grdRad">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="grdRad" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
    </div>
    <telerik:RadGrid ID="grdRad" runat="server" ShowGroupPanel="True" GridLines="None" AutoGenerateColumns="true">
        <MasterTableView GroupLoadMode="Client">
          
        </MasterTableView>
        <ClientSettings AllowGroupExpandCollapse="True" AllowDragToGroup="true" AllowColumnsReorder="true"
            ReorderColumnsOnClient="True" ColumnsReorderMethod="Reorder" >
        </ClientSettings>
        <GroupingSettings ShowUnGroupButton="true" />
    </telerik:RadGrid>
    </form>
</body>

2 Answers, 1 is accepted

Sort by
0
Sadiq
Top achievements
Rank 1
answered on 27 Oct 2010, 09:23 PM
Oh, I am adding the datasource to the grid in page_load.
0
Maria Ilieva
Telerik team
answered on 29 Oct 2010, 12:22 PM
Hello Sadiq,

Please ensure that you are setting the correct structure of defining the Grid programmatically, described in the following help topic.


Regards,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Sadiq
Top achievements
Rank 1
Answers by
Sadiq
Top achievements
Rank 1
Maria Ilieva
Telerik team
Share this question
or