Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2007

Tip: Looking for answers? Try searching our database.

Clickonce application not launched within HTTP onload event handler using IE 7

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
james - 02 Feb 2007 09:22 GMT
Dear,

As following sample, if the Clickonce application  launched within HTTP
onload event , it seems not work.
But if it called from onclick event, everything is just fine.
I have already turned off IE Popup-blocker in IE7.

Thanks a lot

ex:
<html>
<head>
<script language="javascript" type="text/javascript">
function DoLoad()
{
   window.open("http:/localhost/TestClickOnce/TestClickOnce.application");
}
</script>
</head>
<body onload="DoLoad;">
<form>
<input type="button" value="ClickOnce"  onclick="DoLoad()" />
</form>
</body>
</html>

James Lin
Markus - 02 Feb 2007 10:11 GMT
> <body onload="DoLoad;">

ever tried onload="DoLoad()" ? Seems you miss some brackets.

maybe this helps
Markus
james - 02 Feb 2007 12:15 GMT
Dear Marjus,

Thanks a lot for your help.
But it just typing mistake in the mail body. My source code is shown as
following.

<body onload="DoLoad();">

It does not work as the same,

I thought it may be some sort of security issues like Popup-blocker.

James Lin

"Markus" <difh04-gen1REMOVE@THISyahoo.de>
???????:O5afQKrRHHA.4692@TK2MSFTNGP05.phx.gbl...

>> <body onload="DoLoad;">
>
> ever tried onload="DoLoad()" ? Seems you miss some brackets.
>
> maybe this helps
> Markus
Markus - 02 Feb 2007 12:29 GMT
> I thought it may be some sort of security issues like Popup-blocker.

You might test this out by including your site as a trusted site (or in
the sites enabling pop-up windows)... however, this will not be a good
solution for your customers...

but another solution:
why don't you use redirects? You could either use a server side redirect
(asp or asp.net - just one line of code), or use standard html
meta-refresh tags... then you don't need the pop-up.

Not solving your problem - but giving you other solution perspectives...

otherwise, I am also running out of ideas ;-).
Markus
james - 05 Feb 2007 04:01 GMT
Dear Markus,

Thanks again for you help.
I tried your solutions, but it not works.
I have turned off pop-up for all sites and using server side redirect.
The problem seems only occured in IE 7.

James Lin

"Markus" <difh04-gen1REMOVE@THISyahoo.de>
???????:u$yVIXsRHHA.2252@TK2MSFTNGP02.phx.gbl...
>> I thought it may be some sort of security issues like Popup-blocker.
>
[quoted text clipped - 11 lines]
> otherwise, I am also running out of ideas ;-).
> Markus
Markus - 05 Feb 2007 07:15 GMT
> I have turned off pop-up for all sites and using server side
> redirect. The problem seems only occured in IE 7.

So, what's the problem right now? Before, there was the problem, that
pop-ups did not work. Now we do not have pop-ups any more, so what's the
exact problem?
Because with a server-side (or client-side) redirect, you ARE moving to
the defined page.

Maybe you post your server-side or client-side redirect script for
further analysis.

Markus

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.