By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,708 Members | 2,095 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,708 IT Pros & Developers. It's quick & easy.

TEXTBOX --- i want to select part of the text and change its style

P: n/a
TEXTBOX --- i want to select part of the text and change its style

how can i do this?

manny forums have this feature

msdn forum you select the text and press button for formating code.


thanks
Jun 27 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
pe***@code4cerveja.com wrote:
TEXTBOX --- i want to select part of the text and change its style

how can i do this?

manny forums have this feature

msdn forum you select the text and press button for formating code.


thanks
A "textbox" does not have any formatting. If you mean a RichTextBox,
then you need to use the properties on the control to do what you want.

However, it sounds like you want a web control, in which case you need
to do some magic with an IFrame, I suggest you find a 3rd party control
or script which allows you to do what you want.

--
Lasse Vågsæther Karlsen
mailto:la***@vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3
Jun 27 '08 #2

P: n/a
Lasse Vågsæther Karlsen wrote:
pe***@code4cerveja.com wrote:
>TEXTBOX --- i want to select part of the text and change its style

how can i do this?

manny forums have this feature

msdn forum you select the text and press button for formating code.


thanks

A "textbox" does not have any formatting. If you mean a RichTextBox,
then you need to use the properties on the control to do what you want.

However, it sounds like you want a web control, in which case you need
to do some magic with an IFrame, I suggest you find a 3rd party control
or script which allows you to do what you want.
Here is a link which might point you in the right direction:

http://www.google.com/search?hl=en&r...ol&btnG=Search

Additionally, questions regarding web might have a better chance of
replies if posted to the ASP.NET groups.

--
Lasse Vågsæther Karlsen
mailto:la***@vkarlsen.no
http://presentationmode.blogspot.com/
PGP KeyID: 0xBCDEA2E3
Jun 27 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.