How do I...

  • Thread starter Douglas Osborne
  • Start date
A

Alvin Bruney [MVP]

It's a security measure, it can't be overridden. By the way, this never used
to happen, it seemed to have been implemented in a patch with IE or the OS.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
 
A

Alvin Bruney [MVP]

It's a security measure, it can't be overridden.
Nope, don't know who told you that. It can be overridden. Simply use an
external js file to load the activex control. So in your page you do
something like
<body src="extern.js"/>

and in your extern.js you do something like
document.write('<object clsid=owc object goes here...

The action will cause the ActiveX control to immediately load in active
mode. The user no longer has to click to activate.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Alvin Bruney said:
It's a security measure, it can't be overridden. By the way, this never
used to happen, it seemed to have been implemented in a patch with IE or
the OS.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Douglas Osborne said:
When I render a pivot table, you can see on the mouseover of the pivot
table 'Click to activate and use this control'. When I click, the
PivotTable Field List box is rendered.

Does anyone know how to prevent this?

The example on
http://stats.oecd.org/wbos/ViewPivot.aspx?DatasetCode=CRS+HIVAIDS&QueryName=By+Donor
prevents this from occuring - it has to be some easy VB or JS code.

TIA,
Doug
 
D

Douglas Osborne

Alvin,

You contradicted your own post - lol - I'll give it a shot - it looks like a
good idea.

What I mean is that when the user click a column or data fieldset, the field
set list popup appears.

The app I saw over at
http://stats.oecd.org/wbos/ViewPivot.aspx?DatasetCode=CRS+HIVAIDS&QueryName=By+Donor
does not exhibit the same behavior - Perhaps Peter Huang knows?

Best,
Doug


Alvin Bruney said:
It's a security measure, it can't be overridden.
Nope, don't know who told you that. It can be overridden. Simply use an
external js file to load the activex control. So in your page you do
something like
<body src="extern.js"/>

and in your extern.js you do something like
document.write('<object clsid=owc object goes here...

The action will cause the ActiveX control to immediately load in active
mode. The user no longer has to click to activate.
--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Alvin Bruney said:
It's a security measure, it can't be overridden. By the way, this never
used to happen, it seemed to have been implemented in a patch with IE or
the OS.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


Douglas Osborne said:
When I render a pivot table, you can see on the mouseover of the pivot
table 'Click to activate and use this control'. When I click, the
PivotTable Field List box is rendered.

Does anyone know how to prevent this?

The example on
http://stats.oecd.org/wbos/ViewPivot.aspx?DatasetCode=CRS+HIVAIDS&QueryName=By+Donor
prevents this from occuring - it has to be some easy VB or JS code.

TIA,
Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top