You need to use JavaScript for this unless you want to send the page back to
the server and then send the page back to the client again which is a drag
on performance and poor usability which I contend is perhaps the most
significant reason touchscreen applications have rarely been successful,
e.g. once a user tries to use the application and it runs like sh!t they
never use it again.
Go to the JavaScript FAQ [1] and you will learn how to get text in a textbox
selected and replaced. Only go back to the server if you have to. Be aware
of a methodology called AJAX [A(synchronous) JA(vascript( X(ml)] as it is a
methodology that allow the contents of a control such as a textbox to be
sent back to the sever and back again without needing to send the whole
page.
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL
http://metromilwaukee.com/
URL
http://clintongallagher.metromilwaukee.com/
[1]
http://developer.irt.org/
[2]
http://ajax.schwarz-interactive.de/c...e/default.aspx
"melanieab" <me*******@discussions.microsoft.com> wrote in message
news:E3**********************************@microsof t.com...
Hi,
I need to write something so that when a textbox is entered (this is for a
touchscreen), all the text in that textbox is selected (highlighted) and
new
keystrokes replace the old text. Help!
Thanks (again),
Melanie