Click here to Skip to main content
11,479,170 members (46,560 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# ASP ASP.NET User-controls Color , +
How to add dynamic forecolor, background color, font-size and font-style in my textbox in c#.
I want the user to choose the style for its text entered in the textbox given according to his/her choice. How can I do this ?
Please anyone help me out...
Posted 8-Jul-13 1:51am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Shanu2rick at 8-Jul-13 7:07am
Read the question clearly....its says not windows form application.
Denis Shemenko at 8-Jul-13 7:26am
It doesnt matter :)
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Buddy you can start with a little javascript or jquery, whichever suits you.
Have a look at this example
Something like this[^] might give you some startup
kool15th at 8-Jul-13 9:17am
I have done all these. I want options to choose from, By this i can only provide few colors.
Can This happen that a color picker opens and the user selects the color than the forecolor in the textbox becomes of that selected color?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 215
1 OriginalGriff 205
2 F-ES Sitecore 185
3 Frankie-C 120
4 DamithSL 85
0 Sergey Alexandrovich Kryukov 7,890
1 OriginalGriff 7,441
2 Sascha Lefèvre 3,064
3 Maciej Los 2,491
4 Richard Deeming 2,335

Advertise | Privacy | Mobile
Web03 | 2.8.150520.1 | Last Updated 8 Jul 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100