|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Wizard.FinishButtonClick - launch browser AND redirectHi;
In my Wizard.FinishButtonClick method I need to have the following happen: 1) A second browser is launched to a specific url. 2) The browser my code is in redirects to a different page. Any idea how to do this? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - http://www.windwardreports.com/film.htm Hi Dave,
You can use javascript to open the different page in a new window: protected void Wizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e) { ClientScript.RegisterStartupScript(this.GetType(), "open2", "window.open('Default2.aspx', '_blank')", true); } Sincerely, Walter Wang (waw***@online.microsoft.com, remove 'online.') Microsoft Online Community Support ================================================== Get notification to my posts through email? Please refer to http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif ications. If you are using Outlook Express, please make sure you clear the check box "Tools/Options/Read: Get 300 headers at a time" to see your reply promptly. 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/subscriptions/support/default.aspx. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Hi;
My popup blocker stops this from working. I can turn off my blocker - but our users will have this on. So... any other ideas on how to do this? In a perfect world when they click on the Finish button in a wizard it pops up this window AND takes the existing window to a new url. But the pop'ed up window is the critical one. That one must be displayed as it is the result of having gone through the wizard. At present when users click done on the wizard we just go to that page - but they are then out of our portal and find that very confusing. -- Show quoteHide quotethanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - http://www.windwardreports.com/film.htm "Walter Wang [MSFT]" wrote: > Hi Dave, > > You can use javascript to open the different page in a new window: > > protected void Wizard1_FinishButtonClick(object sender, > WizardNavigationEventArgs e) > { > ClientScript.RegisterStartupScript(this.GetType(), "open2", > "window.open('Default2.aspx', '_blank')", true); > } > > > Sincerely, > Walter Wang (waw***@online.microsoft.com, remove 'online.') > Microsoft Online Community Support > > ================================================== > Get notification to my posts through email? Please refer to > http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif > ications. If you are using Outlook Express, please make sure you clear the > check box "Tools/Options/Read: Get 300 headers at a time" to see your reply > promptly. > > 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/subscriptions/support/default.aspx. > ================================================== > > This posting is provided "AS IS" with no warranties, and confers no rights. > > Dave,
It's not possible bypass the popup blocker. You can detect if a popup block is present, then use one of following options: 1) Prompt the user that he/she needs to turn off the popup blocker since it's important for your site 2) Show the user a direct link to open the url in a new window; normally a popup blocker only blocks a window opened by script. For more information, please refer to following document: #Detect a popup blocker using Javascript - Article 3 http://www.visitor-stats.com/articles/detect-popup-blocker.php Regards, Walter Wang (waw***@online.microsoft.com, remove 'online.') Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Yuck - ok - thanks
-- Show quoteHide quotethanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - http://www.windwardreports.com/film.htm "Walter Wang [MSFT]" wrote: > Dave, > > It's not possible bypass the popup blocker. You can detect if a popup block > is present, then use one of following options: > > 1) Prompt the user that he/she needs to turn off the popup blocker since > it's important for your site > > 2) Show the user a direct link to open the url in a new window; normally a > popup blocker only blocks a window opened by script. > > For more information, please refer to following document: > > #Detect a popup blocker using Javascript - Article 3 > http://www.visitor-stats.com/articles/detect-popup-blocker.php > > > > Regards, > Walter Wang (waw***@online.microsoft.com, remove 'online.') > Microsoft Online Community Support > > ================================================== > When responding to posts, please "Reply to Group" via your newsreader so > that others may learn and benefit from your issue. > ================================================== > > This posting is provided "AS IS" with no warranties, and confers no rights. > > > >
No open/save prompt
How to get GridView row from DataKey? Drop Down List issue themes Images Item has already been added. Key in dictionary can't remove listitem from ddl in loop data field - change true/false to Yes/No asp.net 2.0 site menu control (from navigation block) and IE 5 compatibility Parameter as web user control dynamic checkbox controls |
|||||||||||||||||||||||