If anyone could point me in the right direction it would be great. This looks like a simple thing to do, but I only found how to span column headers, not rows.
Thanks for the help!
6 Answers, 1 is accepted
The table from the screenshot seems to present static information. RadGrid is a data-bound control and is generally used to present and edit data in a database. If you would like to display a static table RadGrid would not be suitable.
Would you elaborate more on the scenario you would like to implement? What data in the table from the screenshot will be populated from a data source?
Regards,
Viktor Tachev
Telerik

This table was just an example. Every field in the table will be pulled from the DB. The reason why I want to use RadGrid is so I can edit any field "In Place". I am not having problems pulling data to the grid. My problem is to have the table laid out the way I showed in the example.
Thanks for your help!
It is possible to make RadGrid look like the table from the screenshot, however such functionality is not available out of the box.
In order to achieve similar look you could use the PreRender event for RadGrid. In the handler you could check if the text in neighboring rows is the same. If this condition is met the RowSpan property for the first cell is increased and the second cell is hidden.
For your convenience I have also prepared a sample project that illustrates the described approach.
Regards,
Viktor Tachev
Telerik

Here's another related issue... Whenever I drop a RadGrid on a form, I get the following error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'AWSSDK, Version=1.5.23.2, Culture=neutral, PublicKeyToken=9f476d3089b52be3' or one of its dependencies. The system cannot find the file specified.
Source Error:
Line 18: <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
Line 19: <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 20: <add assembly="AWSSDK, Version=1.5.23.2, Culture=neutral, PublicKeyToken=9F476D3089B52BE3"/>
Line 21: <add assembly="Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 22: <add assembly="Telerik.Everlive.Sdk.Net35, Version=1.0.0.0, Culture=neutral, PublicKeyToken=B28C218413BDF563"/>
Source File: c:\users\administrator\documents\visual studio 2012\Projects\RadGridRowSpan\RadGridRowSpan\web.config Line: 20
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18055
How can I resolve this issue? It only happens after I drop the control on the form.
Thanks!
The error you are seeing generally indicates that an assembly file is missing, in this case AWSSDK.dll.
If you are using Amazon Web Services you need to make sure that you have the dll file included in the bin folder of your project and that it is referenced properly.
In case you are not using this service then you could remove the line referencing this assembly from the web.config file.
Additionally you could take a look at this forum thread that discusses similar issue.
Regards,
Viktor Tachev
Telerik

Hi,
your example works as expected. It would be nice, if you can add it to RadGrid - How To section, because on forums, there are similar threads and this could be very helpful to have it on one place.
Best regards
Vasssek