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

Rendering Issue with RadGrid Grouping

6 Answers 118 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vamsi Kamal
Top achievements
Rank 1
Vamsi Kamal asked on 24 Aug 2012, 08:25 AM
Hi Telerik Team,

I am facing two problems using RadGrid Grouping.
1. The RadGrid is not rendering properly when it is loaded for the first time. (Please find the screenshot.)
2. If I Drag and Drop any column to GroupPanel then it is showing below error.
     Error Message : "Expression cannot be null or empty"


I can see both the above issues only when the RadGrid is loaded for the first time.
If I do any action like ungroup the initail grouped column/ Changed the paging/ Refresh/ Sort then it is rendering properly and then onwards it is working fine as expected.

Could you please suggest me a solution for this.?
Many Thanks,
Vamsikamal

6 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 28 Aug 2012, 10:53 AM
Hello Vamsi,

I suggest that we continue our conversation on the following thread to enable other users with similar issues to track more easily the discussion:
http://www.telerik.com/community/forums/aspnet-ajax/grid/grouping---drag-drop-radgrid-columns-to-panel-div-which-is-not-a-part-of-radgrid.aspx

All the best,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Vamsi Kamal
Top achievements
Rank 1
answered on 19 Nov 2012, 02:15 PM
I have a requirement for RadGrid like below. Can anyone suggest me the best way to do it.

- Need to provide check boxes column headers
- If we select one of the check box, then that column should be invisible. And the column name should be added to a dropdown list, which is on top of the RadGrid. All the selected column names should be added to drop down list.
- If I select the drop down list and click on a button then all the selected columns should be visible.

- Need to achieve this without posting back the page.

Thanks in advance.
0
Eyup
Telerik team
answered on 21 Nov 2012, 09:44 AM
Hello Vamsi,

I believe you are looking for a functionality resembling the Columns section of the Header Context Menu:
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/headercontextmenu/defaultcs.aspx

You could use the client side events of the ComboBox to hide and show the selected column.

I hope this will prove helpful.

Greetings,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Vamsi Kamal
Top achievements
Rank 1
answered on 22 Nov 2012, 09:37 AM
I don't want to group the columns. I want to place check boxes in the column headers, if I select one of the check box, then that column should be Invisible.
0
Accepted
Eyup
Telerik team
answered on 26 Nov 2012, 12:33 PM
Hello Vamsi,

In the provided demo you can see that the Columns section of the Header context menu hides and shows the columns as requested.

Nevertheless, I have created a sample RadGrid web site where I implemented the desired functionality. Please check out the attached application and let me know about the result.

Kind regards,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Vamsi Kamal
Top achievements
Rank 1
answered on 26 Nov 2012, 01:39 PM
Thank you very much..
This is what I am looking for... :)
Tags
Grid
Asked by
Vamsi Kamal
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Vamsi Kamal
Top achievements
Rank 1
Share this question
or