469,632 Members | 1,784 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,632 developers. It's quick & easy.

Insert text at cursor position...still

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..I was told I could use the SelectedText property however I
get this error:

'SelectedText' is not a member of 'System.Web.UI.WebControls.TextBox'.
Thanks!
Nov 18 '05 #1
1 1965
Matt Tapia wrote:
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..I was told I could use the SelectedText property however I
get this error:

'SelectedText' is not a member of 'System.Web.UI.WebControls.TextBox'.


The TextBox is a server-side control, and text selection information
isn't posted to the web server. You'd have to work something out with
client-side scripting.

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Thomas | last post: by
2 posts views Thread by Matt Tapia | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.