
Kræn Munck
Top achievements
Rank 1
Kræn Munck
asked on 21 Oct 2010, 11:45 AM
We have a RadGrid with a NestedViewTemplate
Setting the Grid GroupHeaderItemStyle.CssClass = "groupbyheader"; affects the first td in the NestedViewTemplate..
Setting the Grid GroupHeaderItemStyle.CssClass = "groupbyheader"; affects the first td in the NestedViewTemplate..
5 Answers, 1 is accepted
0
Hello Kræn Munck,
Thank you for the feedback. This is a known issue, which we will fix for the next version of RadGrid.
In the meantime, you can modify your CSS selector to target only <tr> elements with the custom CSS class. In this way the styles will not be applied to the first table cell from the nested view row.
Sincerely yours,
Dimo
the Telerik team
Thank you for the feedback. This is a known issue, which we will fix for the next version of RadGrid.
In the meantime, you can modify your CSS selector to target only <tr> elements with the custom CSS class. In this way the styles will not be applied to the first table cell from the nested view row.
Sincerely yours,
Dimo
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Kræn Munck
Top achievements
Rank 1
answered on 15 Nov 2010, 12:19 PM
Hi Dimo,
I'm afraid we can't just change the selector, we have ~50 customers with branded styling packages that we have no way of reaching.
Can you link a tracking id for this bug?, so i know when it's fixed.. we have a release deadline soon and i noticed it wasn't fixed in the latest Telerik release.
I'm afraid we can't just change the selector, we have ~50 customers with branded styling packages that we have no way of reaching.
Can you link a tracking id for this bug?, so i know when it's fixed.. we have a release deadline soon and i noticed it wasn't fixed in the latest Telerik release.
0
Hello Kræn,
The issue is fixed in the latest official RadControls version, which is Q3 2010 - 2010.3.1109.
Regards,
Dimo
the Telerik team
The issue is fixed in the latest official RadControls version, which is Q3 2010 - 2010.3.1109.
Regards,
Dimo
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0

Kræn Munck
Top achievements
Rank 1
answered on 16 Nov 2010, 09:47 AM
Hi Dimo,
I'm afraid it's still not fixed. I installed the latest Telerik and rebuild my solution and the groupbyheader class still spills into the td in the NestedViewTemplate.
I'm afraid it's still not fixed. I installed the latest Telerik and rebuild my solution and the groupbyheader class still spills into the td in the NestedViewTemplate.
0
Accepted
Hi Kræn,
Here is my test page, which works as expected. Let me know if I am missing something.
Kind regards,
Dimo
the Telerik team
Here is my test page, which works as expected. Let me know if I am missing something.
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Data" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
script
runat
=
"server"
>
protected void RadGrid_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
DataTable dt = new DataTable();
DataRow dr;
int colsNum = 4;
int rowsNum = 3;
string colName = "Column";
for (int j = 1; j <= colsNum; j++)
{
dt.Columns.Add(String.Format("{0}{1}", colName, j));
}
for (int i = 1; i <= rowsNum; i++)
{
dr = dt.NewRow();
for (int k = 1; k <= colsNum; k++)
{
dr[String.Format("{0}{1}", colName, k)] = String.Format("{0}{1} Row{2}", colName, k, i);
}
dt.Rows.Add(dr);
}
(sender as RadGrid).DataSource = dt;
}
</
script
>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
meta
http-equiv
=
"content-type"
content
=
"text/html;charset=utf-8"
/>
<
title
>RadControls</
title
>
<
style
type
=
"text/css"
>
.groupbyheader,
.groupbyheader *
{
background:none yellow !important;
}
</
style
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
/>
<
telerik:RadGrid
ID
=
"rgTrend"
runat
=
"server"
Width
=
"800px"
OnNeedDataSource
=
"RadGrid_NeedDataSource"
GroupingEnabled
=
"true"
ShowGroupPanel
=
"true"
>
<
MasterTableView
HierarchyDefaultExpanded
=
"true"
>
<
GroupHeaderItemStyle
CssClass
=
"groupbyheader"
/>
<
NestedViewTemplate
>
NestedViewTemplate
</
NestedViewTemplate
>
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"Column1"
/>
</
GroupByFields
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"Column1"
/>
</
SelectFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
</
MasterTableView
>
</
telerik:RadGrid
>
</
form
>
</
body
>
</
html
>
Kind regards,
Dimo
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.