
Ruben Sutcliffe
Top achievements
Rank 1
Ruben Sutcliffe
asked on 20 Apr 2008, 06:44 AM
I am using a grid with an item template and set its ClientSettings.EnableRowHoverStyle = True.
However, the hover style is not applied to my rows. Sometimes when I move my mouse over each row, I see the row blinking for a short while with the hovers style before it reverts to normal.
When I try this on a grid that does not use item template, it is working fine.
However, the hover style is not applied to my rows. Sometimes when I move my mouse over each row, I see the row blinking for a short while with the hovers style before it reverts to normal.
When I try this on a grid that does not use item template, it is working fine.
5 Answers, 1 is accepted
0
Hello Ruben,
I tested the functionality that you mentioned, and the control behaved properly. Attached to this message is a sample application, which I used initially.
Take a look at it and let me know if this is the expected behavior.
Greetings,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I tested the functionality that you mentioned, and the control behaved properly. Attached to this message is a sample application, which I used initially.
Take a look at it and let me know if this is the expected behavior.
Greetings,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Ruben Sutcliffe
Top achievements
Rank 1
answered on 22 Apr 2008, 03:21 AM
But your example project is not using an item template. My problem involves item templates.
0
Hi Ruben,
I added the following column to the sample:
.aspx
Attached to this message is the project.
Let me know how it functions at your end.
Kind regards,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I added the following column to the sample:
.aspx
<telerik:GridTemplateColumn UniqueName="Template1" > |
<ItemTemplate> |
<asp:Label runat="server" ID="Label1" |
Text="ItemTemplate"> |
</asp:Label> |
</ItemTemplate> |
</telerik:GridTemplateColumn> |
Attached to this message is the project.
Let me know how it functions at your end.
Kind regards,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0

Ruben Sutcliffe
Top achievements
Rank 1
answered on 23 Apr 2008, 02:21 AM
Your example is working. I am using the IE Dom explorer to trace my aspx page.
My item template almost occupies the entire grid row and has multiple controls. All of the controls are inside a table that has a Css class.
I notice that if I mouseover the extreme left of my grid row (before the start of my item template) the rowover css colour is applied but the moment I move my mouse away it is not applied.
Is there anything I can do to fix this? It seems that radgrid does not recognise my item template as part of the rowover row because my controls are in a table. But I notice that my grid's alt-row color is working fine.
My item template almost occupies the entire grid row and has multiple controls. All of the controls are inside a table that has a Css class.
I notice that if I mouseover the extreme left of my grid row (before the start of my item template) the rowover css colour is applied but the moment I move my mouse away it is not applied.
Is there anything I can do to fix this? It seems that radgrid does not recognise my item template as part of the rowover row because my controls are in a table. But I notice that my grid's alt-row color is working fine.
0
Hi Ruben,
Indeed, I was beginning to suspect that you have another css applied to the template column. However, in order to properly review the case, it would be best if you open a formal support ticket, and send us a small working sample, including the css used, which we can test locally, and advise you further.
Regards,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Indeed, I was beginning to suspect that you have another css applied to the template column. However, in order to properly review the case, it would be best if you open a formal support ticket, and send us a small working sample, including the css used, which we can test locally, and advise you further.
Regards,
Yavor
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center