Link to home
Start Free TrialLog in
Avatar of syinner
syinnerFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Inserting text into textbox at cursor position

In the simplest terms I have a button and a multiline textbox on my asp.net page. I type data into the textbox and when I click a button I need it to insert text at the cursor position.

This is also within an updatepanel. Is this possible?
Avatar of MaxOvrdrv2
MaxOvrdrv2

can you use client-side script (JavaScript) or you are limited to server-side?
Avatar of syinner

ASKER

i got no problem using client side however this is within a control that is part of a content page... i have had problems with client side javascript when this is combined with an updatepanel.

i would like the server side to make the decision what needs to inserted through.
ASKER CERTIFIED SOLUTION
Avatar of MaxOvrdrv2
MaxOvrdrv2

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
something like that anyway... for mine here i'm copying text from one text box to another... but you get the idea from the code anyway.