G Guest Dec 2, 2005 #1 How can i retrieve the value of highlighted text within a text box? thank you.
N Nikola Bucic Dec 2, 2005 #4 CodeRazor said: How can i retrieve the value of highlighted text within a text box? thank you. Click to expand... Simply you can do "textbox_name.SelectedText" without quotes
CodeRazor said: How can i retrieve the value of highlighted text within a text box? thank you. Click to expand... Simply you can do "textbox_name.SelectedText" without quotes
L leighghunt Dec 2, 2005 #5 Ooops - as Steph and Nikola have stated - use the property syntax and not method call.
G Guest Dec 5, 2005 #6 ??? I get the error below when i try the code you've all suggested. Web.UI.WebControls.TextBox' does not contain a definition for 'SelectedText' Should textbox_name.SelectedText be used in the codebehind? javascript? thanks
??? I get the error below when i try the code you've all suggested. Web.UI.WebControls.TextBox' does not contain a definition for 'SelectedText' Should textbox_name.SelectedText be used in the codebehind? javascript? thanks