Opening POPUP Windows from C# Windows application

Hi all,
            I am opening Internet Explorer from C# Windows application by using SHDocVw.
It is opening in Full screen. I want to open like a popup window(Without containing address bar,menu bar......).

Please Provide me the solution..

Regards
Nataraj

 

 

 

 

 

0
pcnataraj
7/7/2006 4:49:35 AM
asp.net.free-for-all 9281 articles. 0 followers. Follow

1 Replies
1098 Views

Similar Articles

[PageSpeed] 8

Since this is a Windows application question, you should ask your question on the MSDN Forums.

Ryan


Ryan Olshan
ASPInsider | Microsoft MVP, ASP.NET
http://ryanolshan.com

How to ask a question
0
StrongTypes
7/7/2006 1:49:10 PM
Reply:

Similar Artilces:

Open Popup Window and Close the window that Opened it
I'm using some code that I found on this site to open a Popup window with a Button Click for a Crystal Report: Dim PopUpScript As String = "<script language='javascript'>" + "window.open(" & Chr(39) & strExportFile & Chr(39) & ");</script>" Page.ClientScript.RegisterStartupScript(Me.GetType(), "PopUpWindow", PopUpScript, False) After the Popup Window shows the Report I would like to close the window that opened this popup window.  Thanks, Mark just add window.close(); in Dim PopUpScript As String ...

How to disable a Parent window when the Child pop-up window opens in C#.net
My Code: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient;public partial class _Default : System.Web.UI.Page {dbUtils dbu = new dbUtils(); //SqlDataAdapter dataAdapter; //DataSet dSet; //SqlCommand cmd; //int value; //string Temp,var;protected void Page_Load(object sender, EventArgs e) {if (Page.IsPostBack == false) { session(); }     }public v...

Popup Window (window.opener)
Hi, I have an ASP.NET application. On one of my pages I have a link to a popup. This popup has a link. When the user clicks this link my popup closes and another Popup is displayed. In this second Popup I want to redirect the user to a fifferent page in my application when the popup closes. Is this possible as another popup opened this second popup so I cannot use 'window.opener'. Any advice is much appreciated. Thanks, C can you please explain a bit more clearly, what I got is that you hae total 4 windows isn't it? are you using hyperlink control or window.openfeed...

superreview granted: [Bug 263844] Javascript window.close() on popup not working when popup is opened in tab : [Attachment 162257] set opener on opened windows diverted into tabs
Boris Zbarsky <bzbarsky@mit.edu> has granted Boris Zbarsky <bzbarsky@mit.edu>'s request for superreview: Bug 263844: Javascript window.close() on popup not working when popup is opened in tab https://bugzilla.mozilla.org/show_bug.cgi?id=263844 Attachment 162257: set opener on opened windows diverted into tabs https://bugzilla.mozilla.org/attachment.cgi?id=162257&action=edit ------- Additional Comments from Boris Zbarsky <bzbarsky@mit.edu> r+sr=bzbarsky. Dan, thanks for doing this! I really wish we could factor some of this code that's being copied f...

window.open and window.opener
Sorry for a really dumb post. I am not a scripting person... I find the whole thing a bit strange really with losely coupled types ect...Anyway, I am putting together a ASP.NET v2 application. One of the pages I am planning on implementing a link to open a pop-up window. In this popup window, the user will select the location of somthing, the window close and the value returned back to one of the parent browsers controls. I know this is not rocket science and I have done endless searches to try and find the answer. I am loading up the page and passing in the ClientID of the control I wish to...

open popup window with click on image and datalist in popup window
 I have a picture,i want to when i click on it a popup window open,in that pop up window i want to have a data list that in every field of it be a link and a picture,when user click on a link with a url go to another website in that pop up window,how can I do this senario? Where are you having a problem? We can't build the thing for you. Post the code that you have so far. NC...    I want when I click on a picture a popup window open Like this? <img src="yourImageFile.jpg" onclick="window.open('Page2.aspx');" /> See http://www.ja...

window.open in c# using RegisterClientScriptBlock opens window in minimized
Hello Friends I am developing web application using Win XP, IIS, C#, Sql Server etc. Now I have one button on to my web page when user click it, i do some operation on server side and then opens into a new window. So I have opened the window by using c#  and by RegisterClientScriptBlock.... But when it opens, it opens properly but get minimize to the taskbar. I wanted it to remain open or restore, So if anybody have an idea, Please let me know soon. My code to open new window..string script = String.Format("window.open('ChildWindow.aspx',null,'height=550, ...

Can window.open add a parameter to set up popup windows as a modal windows?
Can window.open add a parameter to set up popup window as a modal window? I want to open modal popup window to display a image. Try this..  window.showModalDialog("http://localhost/Test.aspx", "center:yes;resizable:no;dialogHeight:300px");My Blog"Don't be afraid to be wrong; otherwise you'll never be right." Hi, Do you want to show images? try this alternative: http://www.huddletogether.com/projects/lightbox/ Any doubt, post your comment.Segundo Serrano P.Ing. Sistemashttp://www.4workgroup.com/Blog: http://dotnet-peru.blogspot.com  ...

Open a popup window from child window
Hello,  I have a gridcontrol in a child window, which in edit mode has one dropdownlist control, one textbox to enter amount and another textbox whose value will be selected from another popup window. The problem here I am facing is.. when I am opening the popup window from the child window, its replacing the child window and thereby not populating the textbox control in the grid as the child window is being lost. Can anyone please tell me how to retain the child window and open the popup in other separate window. Its quite urgent Thanks      Hi Nans,Are you...

Popup window being covered up by opener window
I have a web app that contains a button that opens up a small popup window when clicked.  In ASP.NET 1.x (using Studio 2003), the popup window appeared without any problem. But with ASP.NET 2.x (using Studio 2005), the popup window appears, but immediately goes behind the opener window. Here's the code: Dim script as String = ""Dim popUp as String = "myurl.aspx"script += "&lt;script language='Javascript' id='PrevOrders'&gt;"script += "var confirmWin = null;"script += "var screenX = window.screen.availWidth/2 - 400;"script += ...

how can I use window.opener but with window.showModalDialog instead of window.open
Hi, I tried the code bellow that I found in  :  4guysfromrolla site:the code displays a source page, whn I click on the Calendar <a href />  link  i get a calendar displayed on a target page. when I select a date, the calendar page closes and populates the textbox txtDate with the chosen date. Here is the code of the 2 pages and my question is down bellow:a source page called frmCalendar.aspx has this:<form name="frmCalendar">   <input name="txtDate" type="text" />   <a href=&q...

how to open popup window through javascript in code behind( popup window should be aligned center)
I want to use javascript in code behind to open popup window. I have Datalist inside which there is linkbutton. On click of linkbutton open popup window through javascript & that pop up window should be aligned centraly.Regards,Mahesh--------------------click "Mark as Answer" on the post that helps you. Friend, Try this sample . <html xmlns="http://www.w3.org/1999/xhtml" ><head runat="server">    <title>Untitled Page</title>        <style>    .blue{ bac...

How to open a Windows Session with no Network Window popup
Hello, I am trying to authenticate my users with there Windows Credential (AD). I know if I select Window Authentification IIS will pop a window so the user, if not logged on, will be able to set his ID and PW. I do not want the pop up Window. I absolutelly have to get the information via a web page and then open there Window sesison. I can't seem to find the functions to programmatically create a window sesison via a web page. Is possible ThanksEric BlaisWeb Developperblaireau47(@)hotmail.comAlways looking for a new challenge Whether or not the dialog box appears depends o...

How to close current window when the popup window is open
 hi all,i need to close my current window when the popup is open.now i use data grid and iv call popup window in selected index chage event of that datagrid.but my current window is not close when popup was open.please tell me how i do this.thnks. I guess it depends on how you are opening the popup.  Here's an article that talks about doing this using javascript:http://blogs.x2line.com/al/articles/350.aspx  MarvinIf, by some rare and amazing chance, I suggested a solution that actually worked for you, please mark the post as "ANSWER" because, hey, I don&#...