|
-
Aug 27th, 2001, 08:27 AM
#1
Thread Starter
Hyperactive Member
Disable a Textbox
Hi everyone!
I have a textbox on an ASP page that, once populated with data, needs to be disabled but still viewable (like grayed out). Any ideas out there?
Thanks in advance.
-vbuser1976 
VB6 Enterprise SP6
SQL 7.0 SP2
VBScript, HTML, Javascript, C++, a little UNIX
-
Aug 27th, 2001, 08:36 AM
#2
Retired VBF Adm1nistrator
Set its enabled property to False ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Aug 27th, 2001, 08:44 AM
#3
Thread Starter
Hyperactive Member
???
How do you do that on an ASP form? I know in VB it is: txttextbox1.enabled = false, but I am not sure this works in an ASP form.
-vbuser1976 
VB6 Enterprise SP6
SQL 7.0 SP2
VBScript, HTML, Javascript, C++, a little UNIX
-
Aug 27th, 2001, 08:47 AM
#4
Retired VBF Adm1nistrator
Well surely you could just call a small piece of vbscript to do it for you ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Aug 27th, 2001, 09:04 AM
#5
Frenzied Member
you can put it to readonly,
<input type=text name=someName readonly>
but it only works in explorer i think,
try to put a layer on top of it, it wont be reachable!!
-
Aug 27th, 2001, 09:23 AM
#6
Thread Starter
Hyperactive Member
THANX!
Thanks, sebs, that was what I was looking for.
-vbuser1976 
VB6 Enterprise SP6
SQL 7.0 SP2
VBScript, HTML, Javascript, C++, a little UNIX
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|