471,079 Members | 993 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,079 software developers and data experts.

Insert text at cursor position

Is there a way to insert text into a multi-row textbox where the cursor
position is at in the multi-row textbox?

Just wondering
Nov 18 '05 #1
2 5628
Hi,

You can set the SelectedText property to the text you want to insert, if
there is no text selected the text is inserted at the current caret
position.

Hope this helps

Chris Taylor

"Matt Tapia" <mt****@inbizservices.com> wrote in message
news:es**************@TK2MSFTNGP11.phx.gbl...
Is there a way to insert text into a multi-row textbox where the cursor
position is at in the multi-row textbox?

Just wondering

Nov 18 '05 #2
There no such textbox member with asp.net 1.1 , is there other possibility? :cool:

Hi,

You can set the SelectedText property to the text you want to insert, if
there is no text selected the text is inserted at the current caret
position.

Hope this helps

Chris Taylor

"Matt Tapia" <mtapia@inbizservices.com> wrote in message
news:es6Z0iGtDHA.3656@TK2MSFTNGP11.phx.gbl...[color=blue]
> Is there a way to insert text into a multi-row textbox where the cursor
> position is at in the multi-row textbox?
>
> Just wondering
>
>[/color]
Feb 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Thomas | last post: by
1 post views Thread by Matt Tapia | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.