Click here to Skip to main content
11,644,286 members (68,283 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 0: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 OriginalGriff 650
1 494
2 Afzaal Ahmad Zeeshan 423
3 Sergey Alexandrovich Kryukov 409
4 CPallini 352
0 OriginalGriff 925
1 DamithSL 636
2 Afzaal Ahmad Zeeshan 622
3 Sergey Alexandrovich Kryukov 548
4 CPallini 521

Advertise | Privacy | Mobile
Web01 | 2.8.150731.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