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

RadGrid Grouping and Skin Issue

1 Answer 60 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pavan K Kopparthi
Top achievements
Rank 1
Pavan K Kopparthi asked on 17 Jul 2008, 03:49 AM
Hi

Currently I am trying to create a page with RadGrid 08 AJAX version to achieve master/details. Meaning, clicking on a row in my RadGrid extracts the ID associated with that row and grabs the profile information from the datasource and displays in a page. I am facing two issues with this

1. When I try to set the Skin for the control to anything(my preferred choice is Outlook). I tried to set the Skin for GroupPanel and I couldn't(Control not taking it)
2. I have drag and dropped a column to group by the result set. Grouping worked fine but now when I select a row, it keep opeing the profile for row that was ordered originally before the grouping.

Any help on this would be greatly appreciated.

Thanks
Pavan

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 21 Jul 2008, 07:13 AM
Hello Pavan,

Basically, the group panel takes the same skin as the one applied to the grid. Another option would be to modify the skin that you are using, and alter the appearance of the panel, or modify the GroupHeaderItemStyle tag from the aspx.
Further, with respect to the issue with the profile being opened. This is most probably due to the relationship which you described in the initial post: "clicking on a row in my RadGrid extracts the ID associated with that row and grabs the profile information from the datasource and displays in a page" . The same code is executed on clicking on a row after grouping. One possibility would be to use cancel out the event/population of the related data conditionally. For example, you can check to see if there are any group expressions, and if there are, cancel out the fetching of detail records.
I hope this information helps.

Best wishes,
Yavor
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Grid
Asked by
Pavan K Kopparthi
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or