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

Detail Grid Prevent collapsing of grid from causing a post back

1 Answer 39 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tracy
Top achievements
Rank 1
Tracy asked on 06 Oct 2014, 04:33 PM
Hi,

I have a master/detail grid where I am loading the detail grid on demand.  When a row is collapsed it is a causing a post back.  Is there any way to prevent this?
I set the EnablePostBackOnRowClick = false, so I am not sure what is causing the postback.

Thank you for your assistance.

Tracy

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 09 Oct 2014, 10:54 AM
Hello Tracy,

The expand and collapse operations do not require a postback to the server only when the HierarchyLoadMode is set to Client:
http://www.telerik.com/help/aspnet-ajax/grid-hierarchy-load-modes.html

If you want to keep the load-on-demand logic of the default ServerBind mode, you can ajaxify your grid:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/programmatic-hierarchy/defaultcs.aspx

Hope this helps.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Tracy
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or