Hi,
In firefox when selecting rows sometimes the cell you clicked on gets highlighted in blue (see screenshot) how can i disable this?
example image
thanks
Toby
In firefox when selecting rows sometimes the cell you clicked on gets highlighted in blue (see screenshot) how can i disable this?
example image
thanks
Toby
5 Answers, 1 is accepted
0
Hi Toby,
Indeed, this behavior is characteristic for Firefox. You can prevent it by using the following CSS rule:
.rgRow,
.rgAltRow
{
-moz-user-select: -moz-none ;
}
However, note that this will disable also the text selection for RadGrid data rows, which may not be very nice to the users.
Kind regards,
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.
Indeed, this behavior is characteristic for Firefox. You can prevent it by using the following CSS rule:
.rgRow,
.rgAltRow
{
-moz-user-select: -moz-none ;
}
However, note that this will disable also the text selection for RadGrid data rows, which may not be very nice to the users.
Kind regards,
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
Toby
Top achievements
Rank 1
answered on 26 Aug 2009, 12:03 PM
thanks for the quick responce.
0
Brian Azzi
Top achievements
Rank 1
answered on 27 Jan 2010, 06:46 PM
I actually do not want the user to be able to highlight text on multi-select (using the control key). Is there a way to block this in both IE & Firefox?
I find it an odd behavior to have the "word" you happen to click on highlight when you are trying to select a row. (Which happens in IE, or the cell selection as described above in FireFox).
I find it an odd behavior to have the "word" you happen to click on highlight when you are trying to select a row. (Which happens in IE, or the cell selection as described above in FireFox).
0
Hi Brian Azzi,
Since browsers still do not support the CSS3 user-select property, you can try using scripting, for example
http://www.dynamicdrive.com/dynamicindex9/noselect.htm
Greetings,
Dimo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Since browsers still do not support the CSS3 user-select property, you can try using scripting, for example
http://www.dynamicdrive.com/dynamicindex9/noselect.htm
Greetings,
Dimo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Brian Azzi
Top achievements
Rank 1
answered on 28 Jan 2010, 03:32 PM
Great suggestion, thanks! That worked well. As a rule of thumb I don't like "forcing" browser behavior like that though... probably not the best practice... but in this case it was needed, so this was a nice workaround. : )