Hiding label

Hiding label

am 07.06.2007 22:26:24 von pkalinin

Hi.
I have a question can't find the answer for a long time.
Say we have Web Application with to 2 asp and excel file:

ASP1.asp - start page
ASP2.asp
A.xls

ASP1.asp:

<%@ Language=VBScript %>


Please Wait ..


onclick=MyLabel.style.visibility="visible";>


ASP2.asp:

<%@ Language=VBScript %>
<%
Response.Redirect "A.xls"
%>

When click "Go" button on start the page MyLabel cames visible.
A.xls is opened on the client side WITH APPLICATION, not in IE (client
side is set up this way).
When A.xls pops up I want to put MyLabel visibility back to "Hidden".
How can I do this?

Thanks.

Re: Hiding label

am 07.06.2007 22:46:25 von reb01501

pkalinin@partners.org wrote:
> Hi.
> I have a question can't find the answer for a long time.
> Say we have Web Application with to 2 asp and excel file:
>
This question has nothing to do with ASP. Change the file extension of
the first page to .htm to see what I mean ... see? you have the same
problem, but it should now be clear that it is not an ASP problem - ASP
is server-side technology that generates html that is sent to the
client. Once the client has something to click, ASP is out of the
picture. Post your followup questions to a client-side group such as
..scripting.jscript.

To attempt to answer your question, add an onsubmit event handler to
your page to set the element's display property to "none"
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.

Re: Hiding label

am 07.06.2007 23:18:30 von pkalinin

On Jun 7, 4:46 pm, "Bob Barrows [MVP]"
wrote:
> pkali...@partners.org wrote:
> > Hi.
> > I have a question can't find the answer for a long time.
> > Say we have Web Application with to 2 asp and excel file:
>
> This question has nothing to do with ASP. Change the file extension of
> the first page to .htm to see what I mean ... see? you have the same
> problem, but it should now be clear that it is not an ASP problem - ASP
> is server-side technology that generates html that is sent to the
> client. Once the client has something to click, ASP is out of the
> picture. Post your followup questions to a client-side group such as
> .scripting.jscript.
>
> To attempt to answer your question, add an onsubmit event handler to
> your page to set the element's display property to "none"
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.

Thanks.I'l move my question to the newsgroup you recommend.