Thanks for George's input.
Hi Philippe,
I agree with George that to hide a certain html element on html page, a
good approach is using the <divwith css style set to "display=none", then
any elements in the div will also be hidden. You can try it to for activex
object also.
#display Description:
http://webdesign.about.com/od/stylep...lspdisplay.htm
#Show/Hide a Div Content Layer
http://www.willmaster.com/blog/css/s...oating-div.php
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "George Ter-Saakov" <gt****@cardone.com>
References: <38**********************************@microsoft.co m>
Subject: Re: Hide an ActiveX on an HTML page
Date: Thu, 29 May 2008 13:05:03 -0400
>
There is no "visible" property in HTML. It's called display and you need
to
>set it to none.
Wrap your ActiveX in DIV tag
<div style="display:none">
....
</div>
then see if ActiveX still going to be visible
George.
"PhilTheGap" <or****@noemail.noemailwrote in message
news:38**********************************@microso ft.com...
>Hello,
I woulf like to hide an activeX object in a aspx page. The ActiveX is
decalred statically in the HTML code, and I'e tried to set the html
visible "property" to "false" in the javascript page_load function (in
the
>aspx page). It didn't do anything although the code is executed
correctly
>(I check with an alert...).
Do you see why ?
Philippe