VANDENBERGHE
Top achievements
Rank 1
VANDENBERGHE
asked on 06 Jun 2008, 09:29 AM
Hi everyone,
I found a potential issue with RowHoverStyle on a grid. Actually, I have a grid with a EnableRowhoverStyle="true" and the RowHoverStyle defined. Everythings work well except Row style doesn't apply when my mouse is over a table in a template column.
It is pretty closed from the selection problem there was is the 2008.1.415 version. My version is 2008.1.515.35.
Are there any workaround ? Is my developpment way correct ?
Regards,
Sebastien.
I found a potential issue with RowHoverStyle on a grid. Actually, I have a grid with a EnableRowhoverStyle="true" and the RowHoverStyle defined. Everythings work well except Row style doesn't apply when my mouse is over a table in a template column.
It is pretty closed from the selection problem there was is the 2008.1.415 version. My version is 2008.1.515.35.
Are there any workaround ? Is my developpment way correct ?
Regards,
Sebastien.
13 Answers, 1 is accepted
0
Hi Sebastien,
This looks like a bug. We will investigate a little more and let you know of the results. Thank you for your patience.
All the best,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
This looks like a bug. We will investigate a little more and let you know of the results. Thank you for your patience.
All the best,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
VANDENBERGHE
Top achievements
Rank 1
answered on 09 Jun 2008, 12:22 PM
Ok thanks, I'm looking forward to hearing from you soon.
0
Hello Sebastien,
Indeed, the unexpected hover behavior has been confirmed to be an issue with the grid control and we have logged it in our bug tracking system for fixing.
Sorry about any inconvenience caused.
All the best,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Indeed, the unexpected hover behavior has been confirmed to be an issue with the grid control and we have logged it in our bug tracking system for fixing.
Sorry about any inconvenience caused.
All the best,
Dimo
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
VANDENBERGHE
Top achievements
Rank 1
answered on 11 Jun 2008, 02:20 PM
Thanks for your reply,
Keep me inform when the bug is fixed.
Regards,
Sebastien
Keep me inform when the bug is fixed.
Regards,
Sebastien
0
NEX
Top achievements
Rank 1
answered on 12 Mar 2009, 09:44 PM
As of build 2008.3.1314.35 this is still a problem!!! Is there a workaround?
0
Accepted
Hello Alfred,
A possible workaround is to add the following CSS rule to your website:
tr.GridRow_SkinName:hover,
tr.GridAltRow_SkinName:hover,
tr.SelectedRow_SkinName:hover
{
/* row hover styles here */
}
Afterwards, you can set EnableRowHoverStyle="false"
An alternative workaround is to use a CSS-based layout in your template columns, instead of a table-based one.
We have reviewed this problem and the conclusion is that fixing the issue will pose a performance penalty to the RadGrid control, so for the time being we will refrain from doing so. When IE6 is dead, the hover styles will be applied with CSS only (no Javascript will be needed for switching CSS classes), so the issue will no longer be a problem.
Greetings,
Dimo
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.
A possible workaround is to add the following CSS rule to your website:
tr.GridRow_SkinName:hover,
tr.GridAltRow_SkinName:hover,
tr.SelectedRow_SkinName:hover
{
/* row hover styles here */
}
Afterwards, you can set EnableRowHoverStyle="false"
An alternative workaround is to use a CSS-based layout in your template columns, instead of a table-based one.
We have reviewed this problem and the conclusion is that fixing the issue will pose a performance penalty to the RadGrid control, so for the time being we will refrain from doing so. When IE6 is dead, the hover styles will be applied with CSS only (no Javascript will be needed for switching CSS classes), so the issue will no longer be a problem.
Greetings,
Dimo
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.
0
VANDENBERGHE
Top achievements
Rank 1
answered on 13 Mar 2009, 08:09 AM
HI,
Thanks for the workaround, I'm really happy with your support, I used a lot of external librairies and it seems you have the best support !!!
Regards,
Thanks for the workaround, I'm really happy with your support, I used a lot of external librairies and it seems you have the best support !!!
Regards,
0
NEX
Top achievements
Rank 1
answered on 13 Mar 2009, 04:02 PM
I concur ;)
0
NEX
Top achievements
Rank 1
answered on 29 Mar 2009, 02:18 PM
Well...your latest build 2009.1.324.35 breaks the fix given above :(
I believe its related to your stylesheet format changes...
I believe its related to your stylesheet format changes...
0
Hi Alfred,
Yes, you should rename the CSS classes used in the CSS rule, according to the information provided in this help article:
http://www.telerik.com/help/aspnet-ajax/grdcreatingnewskins.html
div.RadGrid_SkinName .rgGridRow:hover,
div.RadGrid_SkinName .rgGridAltRow:hover,
div.RadGrid_SkinName .rgSelectedRow:hover
{
/* row hover styles here */
}
All the best,
Dimo
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Yes, you should rename the CSS classes used in the CSS rule, according to the information provided in this help article:
http://www.telerik.com/help/aspnet-ajax/grdcreatingnewskins.html
div.RadGrid_SkinName .rgGridRow:hover,
div.RadGrid_SkinName .rgGridAltRow:hover,
div.RadGrid_SkinName .rgSelectedRow:hover
{
/* row hover styles here */
}
All the best,
Dimo
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
NEX
Top achievements
Rank 1
answered on 30 Mar 2009, 06:31 PM
...not working...
0
Hello,
Sorry, my mistake. The correct CSS class names are:
div.RadGrid_SkinName .rgRow:hover,
div.RadGrid_SkinName .rgAltRow:hover,
div.RadGrid_SkinName .rgSelectedRow:hover
{
/* row hover styles here */
}
Here is a sample page:
All the best,
Dimo
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Sorry, my mistake. The correct CSS class names are:
div.RadGrid_SkinName .rgRow:hover,
div.RadGrid_SkinName .rgAltRow:hover,
div.RadGrid_SkinName .rgSelectedRow:hover
{
/* row hover styles here */
}
Here is a sample page:
| <%@ 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 = 10; |
| 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" |
| "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <meta http-equiv="content-type" content="text/html; charset=utf-8" /> |
| <title>RadControls for ASP.NET AJAX</title> |
| <style type="text/css"> |
| div.RadGrid_Default .rgRow:hover, |
| div.RadGrid_Default .rgAltRow:hover, |
| div.RadGrid_Default .rgSelectedRow:hover |
| { |
| background:yellow none; |
| } |
| </style> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <asp:ScriptManager ID="ScriptManager1" runat="server" /> |
| <telerik:RadGrid |
| ID="RadGrid1" |
| runat="server" |
| Skin="Default" |
| OnNeedDataSource="RadGrid_NeedDataSource" /> |
| </form> |
| </body> |
| </html> |
All the best,
Dimo
the Telerik team
Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
NEX
Top achievements
Rank 1
answered on 31 Mar 2009, 02:51 PM
Ok...we are back in business :) Thank you.
I do have one complain though...you guys keep changing the skins with each new release...
the funny thing is, most of the time, the old skin look perfectly fine...and its not like I can
just use the stylesheet from the old skin because you change that too!
Every major upgrade I have to be dealing with this issue...
I do have one complain though...you guys keep changing the skins with each new release...
the funny thing is, most of the time, the old skin look perfectly fine...and its not like I can
just use the stylesheet from the old skin because you change that too!
Every major upgrade I have to be dealing with this issue...
