Insert text at cursor position...still

  • Thread starter Thread starter Matt Tapia
  • Start date Start date
M

Matt Tapia

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!
 
Matt said:
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.
 
Back
Top