dotnetspider.com
Login Login    Register      

TutorialsForumCareer DevelopmentResourcesReviewsJobsInterviewCommunitiesProjectsTraining

Subscribe to Subscribers
Talk to Webmaster
Tony John

Facebook
Google+
Twitter
LinkedIn
Online MembersMani
Ravi JV
dilip
Navneet
Sandeep Ramesh Suryawanshi
Jivani
More...
Join our online Google+ community for Bloggers, Content Writers and Webmasters




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: 2 out of 52 out of 5     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: 2 out of 52 out of 5     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.



Next : Entering date in text box
Previous : How to give equal space for columns in grid view
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Email subscription
  • .NET Jobs
  • .NET Articles
  • .NET Forums
  • Articles Rss Feeds
    Forum Rss Feeds


    About Us    Contact Us    Copyright    Privacy Policy    Terms Of Use    Revenue Sharing sites   Advertise   Talk to Tony John
    Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
    2005 - 2012 All Rights Reserved.
    .NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
    Articles, tutorials and all other content offered here is for educational purpose only.
    We are not associated with Microsoft or its partners.