|
Forums » .NET » ASP.NET »
|
How to change textbox cursor color |
Posted Date: 22 Jun 2012 Posted By:: saravanakumar Member Level: Gold Member Rank: 197 Points: 5
Responses:
2
|
Dear friends,
I need how to change the text box cursor color not a effects cursor like red,green,blue color in asp.net. I know the code of silverlight and telerik controls. but I do not know the asp.net textbox control any one know that means pls reply.
silverlight sample:
<style TargetType="TextBox"> <Setter Property="CaretBrush"> <Setter.Value> <LinearGradientBrush MappingMode="RelativeToBoundingBox" StartPoint="0,0" EndPoint="0,1"> <LinearGradientBrush.GradientStops> <GradientStop Color="Red" Offset="0" /> <GradientStop Color="Yellow" Offset="0.5" /> <GradientStop Color="Blue" Offset="1" /> </LinearGradientBrush.GradientStops> </LinearGradientBrush> </Setter.Value> </Setter> </Style>
telerik sample:
<telerik:RadRichTextBox.Resources> <Style TargetType="telerikUI:Caret"> <Setter Property="CaretBrush" Value="White" /> </Style> </telerik:RadRichTextBox.Resources>
but what is asp:textbox control ????????
|
Responses
|
#676831 Author: Ajatshatru Upadhyay Member Level: Gold Member Rank: 19 Date: 22/Jun/2012 Rating:  Points: 1 | Hi,
I don't think, it can be possible through ASP.NET. Even through JavaScript, it would not be possible, I guess.
Hope it'll help you. Regards Ajatshatru
| #677127 Author: SQL Programmers Member Level: Gold Member Rank: 176 Date: 24/Jun/2012 Rating:  Points: 0 | Hi,
We can try this one in CSS.So use the below link.That will help to you.
http://www.tutorialspoint.com/css/css_cursor.htm
SQL Server Programmers and Consultants http://www.sql-programmers.com/
|
|
| Post Reply |
|
|
|
 | | This thread is locked for new responses. Please post your comments and questions as a separate thread. If required, refer to the URL of this page in your new post. |
|
|
|
|
 Follow us on Twitter: https://twitter.com/dotnetspider
|
|