Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 9th, 2003, 12:14 PM
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Advanced client side Textbox

Hello!

Is it possible to create an "advanced" client side textbox in ASP.NET?
By advanced i mean that when the user for example wants to delete som text in the text box, it does not get deleted. Instead i want it to be strikethrough.

Another example: if the user enter new text i want it to be blue, while the rest of the text stays unchanged.

I want this to happen on the client side, without any postbacks to the server.

Is it possible?

Thanks
 
Old July 10th, 2003, 12:20 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

u can easily do it with JavaScript on client side!
accesing a WebControl from Client Side is like the follow:
FORM_RAN_AT_SERVER_ID.elements['TEXT_BOX_ID'].value
ex: form1.elements['TextBox1'].value = "";


Always:),
Hovik Melkomian.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic textbox generation on the client-side dharmeshtandel ASP.NET 2.0 Basics 1 January 30th, 2008 10:35 AM
Problem Converting Client-side to Server-side Code kwilliams ASP.NET 2.0 Professional 1 November 21st, 2007 05:25 PM
Firing server side events at client side codes mehdi62b ASP.NET 1.0 and 1.1 Basics 6 May 18th, 2005 09:11 AM
sharing a server-side variable with client-side pigtail Javascript How-To 6 November 4th, 2004 02:01 AM
Accessing Server Side Data on Client Side steve456 Classic ASP Professional 3 October 15th, 2003 02:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.