|
 |
asp_web_howto thread: disabled in HTML
Message #1 by "Pham, Khanh" <Khanh.Pham@d...> on Mon, 21 May 2001 11:29:56 -0400
|
|
I have the following:
<input type=3D"text" size=3D"1" name=3D"Day1" disabled value=3D01>
When I submit the form, the value is not passed in the querystring.
When I
remove "disabled" the value gets passed perfectly. I need to set the
value
so the users can't change it and also I need the value to remain
displayed.
Thanks all.
-----Original Message-----
From: Charles Tambunan [mailto:csikkop@y...]
Sent: Monday, May 21, 2001 11:44 AM
To: ASP Web HowTo
Subject: [asp_web_howto] -- Office Viewer
I am currently developing a site which contains a repository of Office
documents.
The problem is that I am looking for an ActiveX Control that can be
embedded
in the page to 'quick view' these documents.
The quick view is mandatory, because the user requirements is that the
docs
only can be viewed. Not updated nor saved nor printed.
Do you know any good site that offer the control ?
I really appreciate your repond.
Thanks,
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Charles Sikkop Tambunan
Groupware System Analyst, IT Enterprise Div.
PT. HM Sampoerna Tbk.
Message #2 by "Daniel O'Dorisio" <dodorisio@h...> on Mon, 21 May 2001 11:23:51 -0400
|
|
hmm????
umm wouldnt this be passed as a form element?? like on the other end use
request.form not request.querystring... just a question.
but another method of disabling a input box is to use the javascript
function blur() so the syntax would be:
onFocus="Blur()" and this will work with both netscape and ie
daniel
Daniel O'Dorisio
dodorisio@h...
xxx-xxx-xxxx
-----Original Message-----
From: Pham, Khanh [mailto:Khanh.Pham@d...]
Sent: Monday, May 21, 2001 11:30 AM
To: ASP Web HowTo
Subject: [asp_web_howto] disabled in HTML
I have the following:
<input type="text" size="1" name="Day1" disabled value=01>
When I submit the form, the value is not passed in the querystring. When I
remove "disabled" the value gets passed perfectly. I need to set the value
so the users can't change it and also I need the value to remain displayed.
Thanks all.
-----Original Message-----
From: Charles Tambunan [mailto:csikkop@y...]
Sent: Monday, May 21, 2001 11:44 AM
To: ASP Web HowTo
Subject: [asp_web_howto] -- Office Viewer
I am currently developing a site which contains a repository of Office
documents.
The problem is that I am looking for an ActiveX Control that can be embedded
in the page to 'quick view' these documents.
The quick view is mandatory, because the user requirements is that the docs
only can be viewed. Not updated nor saved nor printed.
Do you know any good site that offer the control ?
I really appreciate your repond.
Thanks,
============================================
Charles Sikkop Tambunan
Groupware System Analyst, IT Enterprise Div.
PT. HM Sampoerna Tbk.
Message #3 by "O'Hara, Elliott M" <EMOHARA@k...> on Mon, 21 May 2001 11:35:32 -0400
|
|
use readonly
-----Original Message-----
From: Pham, Khanh [mailto:Khanh.Pham@d...]
Sent: Monday, May 21, 2001 11:30 AM
To: ASP Web HowTo
Subject: [asp_web_howto] disabled in HTML
I have the following:
<input type=3D"text" size=3D"1" name=3D"Day1" disabled value=3D01>
When I submit the form, the value is not passed in the querystring.
When I
remove "disabled" the value gets passed perfectly. I need to set the
value
so the users can't change it and also I need the value to remain
displayed.
Thanks all.
-----Original Message-----
From: Charles Tambunan [mailto:csikkop@y...]
Sent: Monday, May 21, 2001 11:44 AM
To: ASP Web HowTo
Subject: [asp_web_howto] -- Office Viewer
I am currently developing a site which contains a repository of Office
documents.
The problem is that I am looking for an ActiveX Control that can be
embedded
in the page to 'quick view' these documents.
The quick view is mandatory, because the user requirements is that the
docs
only can be viewed. Not updated nor saved nor printed.
Do you know any good site that offer the control ?
I really appreciate your repond.
Thanks,
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Charles Sikkop Tambunan
Groupware System Analyst, IT Enterprise Div.
PT. HM Sampoerna Tbk.
Message #4 by "JstMeHr4u3" <jstmehr4u3@h...> on Mon, 21 May 2001 08:45:31 -0700
|
|
You should use a Hidden Field to pass the data with the value you want, and
just display the Same value on the page. Not in a Text Box. Or you could use
onFocus="Blur()" .
Mike
----- Original Message -----
From: "Pham, Khanh" <Khanh.Pham@d...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Monday, May 21, 2001 8:29 AM
Subject: [asp_web_howto] disabled in HTML
I have the following:
<input type="text" size="1" name="Day1" disabled value=01>
When I submit the form, the value is not passed in the querystring. When I
remove "disabled" the value gets passed perfectly. I need to set the value
so the users can't change it and also I need the value to remain displayed.
Thanks all.
-----Original Message-----
From: Charles Tambunan [mailto:csikkop@y...]
Sent: Monday, May 21, 2001 11:44 AM
To: ASP Web HowTo
Subject: [asp_web_howto] -- Office Viewer
I am currently developing a site which contains a repository of Office
documents.
The problem is that I am looking for an ActiveX Control that can be embedded
in the page to 'quick view' these documents.
The quick view is mandatory, because the user requirements is that the docs
only can be viewed. Not updated nor saved nor printed.
Do you know any good site that offer the control ?
I really appreciate your repond.
Thanks,
============================================
Charles Sikkop Tambunan
Groupware System Analyst, IT Enterprise Div.
PT. HM Sampoerna Tbk.
Message #5 by "Drew, Ron" <RDrew@B...> on Mon, 21 May 2001 12:43:47 -0400
|
|
how about readonly versus disabled
or this is how I display a field as readonly in ASP if the value comes
from
a DB..
<input type=3D"hidden" name=3D"id" value=3D"<%=3Dform_invoice%>">
<p>Invoice: <%=3Dform_invoice%></p>
or onBlur()
-----Original Message-----
From: Pham, Khanh [mailto:Khanh.Pham@d...]
Sent: Monday, May 21, 2001 11:30 AM
To: ASP Web HowTo
Subject: [asp_web_howto] disabled in HTML
I have the following:
<input type=3D"text" size=3D"1" name=3D"Day1" disabled value=3D01>
When I submit the form, the value is not passed in the querystring.
When I
remove "disabled" the value gets passed perfectly. I need to set the
value
so the users can't change it and also I need the value to remain
displayed.
Thanks all.
|
|
 |