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

Show 'Nested template view' of radgrid from client side.

1 Answer 131 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 03 Mar 2009, 07:33 AM
Hi All,

I am using RadGrid.
I am using 'NestedTemplate view' to show the Details.

When we click on '>' expand arrow of grid.
 It shows me the loading panel. because
it goes to page_load and NeedDatasource event of grid.

I want to show the detail of 'Nested Template view' on client side only.
When we click on '>' expand . it should not go to the serverside event.
It should not show the loading panel.

Please give me the solution.
Thanks.


1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 06 Mar 2009, 08:24 AM
Hi Hrushikesh,

To attain the functionality you are looking for, you need to set HierarchyLoadMode property to "Client". This will enforce all RadGrid content to be rendered on the page on initial load. Thus when you click the expand button, there will be no PostBack and the items will be expanded on the client.

Here is a code snippet showing how to achieve this:
 
<telerik:RadGrid ... > 
... 
<MasterTableView HierarchyLoadMode="Client" ... > 
 
... 
 
</MasterTableView> 
 
... 
 
</telerik:RadGrid> 

For further information you can review the following online help article.

Kind regards,
Georgi Krustev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or