Hi Telerik Team,
Is there anyway to get the cursor position (caret position) in the server side code (C#) rather then in javascript? Also is there anyway to find out what text a user has selected using server side code?
I basically have 2 buttons that when clicked do certain things:
1. Needs to find the cursor position and then select all the text on the line within the text box where the cursor (caret) is placed.
2. Needs to just be able to find all the text that a user has selected
there is a third button but this just gets all the text in the text box and can easily use RadTextBox.Text
Thanks in advance
Ian Ramsay
Programmer
Imagered Ltd
http://www.imagered.co.uk
Is there anyway to get the cursor position (caret position) in the server side code (C#) rather then in javascript? Also is there anyway to find out what text a user has selected using server side code?
I basically have 2 buttons that when clicked do certain things:
1. Needs to find the cursor position and then select all the text on the line within the text box where the cursor (caret) is placed.
2. Needs to just be able to find all the text that a user has selected
there is a third button but this just gets all the text in the text box and can easily use RadTextBox.Text
Thanks in advance
Ian Ramsay
Programmer
Imagered Ltd
http://www.imagered.co.uk