List Info

Thread: PopUp windows..when page is loaded in asp.net




PopUp windows..when page is loaded in asp.net
user name
2006-08-25 10:58:29
hi rajesh,

i'm trying same thing for long..
but not able to get the out put.

so please can you explain me in brief.
what sholud i write and where shoul i write..?

thx 
Champs


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C# Developers" group.
To post to this group, send email to CSDevelopersgooglegroups.com
To unsubscribe from this group, send email to
CSDevelopers-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/CSDevelopers
-~----------~----~----~----~------~----~------~--~---

PopUp windows..when page is loaded in asp.net
user name
2006-08-29 14:20:25
Hi,
you can use
window.open('your aspx page url','title of
Window','Width=272,toolbar=0,height=232,resizable=No');
in your aspx page like:
Page.RegisterStartupScript("SomeUniqueName",
"window.open('your aspx
page url','title of
Window','Width=272,toolbar=0,height=232,resizable=No');&
quot;);
in your Page_Load event handler
but the problem is that IE/FF will block this this popup
cause it does
not came from user action

so the old classic way is to set some javascript to your
control and
try not to make it ASP.NET control but just simple HTML
control without
POSTBACK and RUNTAT="SERVER"

I hope this work


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C# Developers" group.
To post to this group, send email to CSDevelopersgooglegroups.com
To unsubscribe from this group, send email to
CSDevelopers-unsubscribegooglegroups.com
For more options, visit this group at http://gr
oups.google.com/group/CSDevelopers
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )