Is there a way to keep the cursor from changing to a text select when hovering over the combo box? I tried using EnableTextSelection="false", but this did not seem to have any effect. I don't want the user to type in the combo box. I also want the pointer cursor regardless of where you are hovering over the combobox.
Thanks,
Levi
Thanks,
Levi
4 Answers, 1 is accepted
0
Accepted

Princy
Top achievements
Rank 2
answered on 02 Apr 2009, 06:04 AM
Hello Levi,
You can try setting the cursor style in the css class for the skin of the combobox as shown below:
aspx:
css:
Thanks
Princy.
You can try setting the cursor style in the css class for the skin of the combobox as shown below:
aspx:
<telerik:RadComboBox ID="comCity" runat="server" CssClass="Combo" DataTextField="Category" DataValueField="Category" DataSourceID="SqlDataSource1"> |
<CollapseAnimation Duration="200" Type="OutQuint" /> |
</telerik:RadComboBox> |
css:
<style type="text/css"> |
.Combo .rcbInputCell input |
{ |
cursor:default; |
} |
</style> |
Thanks
Princy.
0

Levi
Top achievements
Rank 1
answered on 02 Apr 2009, 06:32 AM
Thanks. Works perfect!
0

Rob
Top achievements
Rank 1
answered on 30 May 2009, 05:49 PM
Guys, it Doesnt work on my machine ! This is my source:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!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">
<style type="text/css">
.Combo .rcbInputCell input
{
cursor:default;
}
</style>
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<br />
<telerik:RadComboBox ID="comCity" runat="server" DataTextField="Category" DataValueField="Category">
<Items>
<telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" Value="RadComboBoxItem1" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</form>
</body>
</html>
What`s wrong ?
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!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">
<style type="text/css">
.Combo .rcbInputCell input
{
cursor:default;
}
</style>
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<br />
<telerik:RadComboBox ID="comCity" runat="server" DataTextField="Category" DataValueField="Category">
<Items>
<telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" Value="RadComboBoxItem1" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</form>
</body>
</html>
What`s wrong ?
0

Vishwa
Top achievements
Rank 2
answered on 23 Oct 2009, 04:15 PM
Please set:
CssClass="Combo"
property in your telerik:RadComboBox tag.
Thanks,
Vishwa
CssClass="Combo"
property in your telerik:RadComboBox tag.
Thanks,
Vishwa