How To Open Aspx Page Like Popup In Dotnetnuke

Nov 8, 2010

When user clicks on linkButton it needs to open new window to display some data. I try this:

string url = "~/SomePage.aspx";
string cmd = "window.open('" + url + "', '_blank', 'height=500,width=800,status=yes,toolbar=no,menubar=no,location=yes,scrollbars=yes,resizable=no,titlebar=no' );";
ScriptManager.RegisterStartupScript(this, this.GetType(), "newWindow", cmd, true);

But it doesn't work. I can't even manually navigate to this page. Opening new window work but it opens the same page in that new window. So, how to display content from SomePage.aspx in this new window?

View 5 Replies


Similar Messages:

Web Forms :: How To Open ASPX Page As Popup

Feb 27, 2012

How to open aspx page as a pop up using asp.net ....

View 1 Replies

Popup ASPX Page Without Network Guys To Turn Off Popup Blocker In IE8

Aug 24, 2011

I want to add a pop-up aspx page without network guys to turn off pop-up blocker in IE8 of client pc. Which way to use, use javascript or Ajax?

View 4 Replies

AJAX :: Open A New Aspx Page Inside Aspx Page?

Nov 30, 2010

How we can open a new aspx page in update panel embedded on current page. I want to open that page on some ajax event...

View 7 Replies

Open Popup Without Page Refresh

Nov 3, 2011

I am trying to open a pop up window by clicking on button from Code behind. following is my code.

C# code :

Code:

ScriptManager.RegisterStartupScript(this, this.GetType(), "", "javascript:return ShowPopup('" + Constants.strFinalSubmit + "'){return false;}", true);
javascript :

Code:

function ShowPopup(strMessage) {
window.open("./CommonScreens/ConfirmationDialog.aspx?value="+ strMessage,null,
"height=150, width=500,left=300,status=no,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no,copyhistory=no,top=400");
}

Also when i click the submit button it should open a pop up with out refreshing the page.

View 6 Replies

How To Open Child Page Popup In Main Page

Nov 25, 2010

page structure-
Page1 = aspx page with iframe(Page2)
page2= aspx page contain user control
usercontrol UC = have a link

Problem- if I click any link of US there is a popup message but the problem is that popus comes inside the I-frame.I want that popup on my main page (page 1)

View 1 Replies

How To Open A Popup Page That Has Parameters In Button Event

Sep 28, 2010

How to open a popup page that has parameters(calculated in button event) in button event

ButtonClick()
{
string id=TextBox.Text;
/////HERE i want to open a popup as "Index.aspx?ID=id" ///////
}

View 1 Replies

Web Forms :: Open Another Page In A Popup Window When Click On Image?

May 2, 2010

How to open a page in popup window of Calendar size. The page contains a default asp.net calendar. In first page there is a formview and inside a formview there is an image. I want that when user click that image a popup will appear having calendar on that page.

View 4 Replies

C# - How To Open A Popup Window And Return Values To The Parent Page

Mar 6, 2010

how to open a popup window and return values to the parent page

i.e passing value fom popup window to parent form.

(The child window contain textbox with a button. Once the value entered in the textbox the value entered should be updated in parent window from child window)

in asp.net web application using C# ..

View 1 Replies

Web Forms :: How To Open Another Aspx Page Without Refreshing The Current Page

Sep 23, 2010

i have four web pages like(home,aboutus,contactus,loginform) and 1 masterpageby using link button i am navigating 2 this pages... while navigating the total page is refreshing... i dont want like thtonly content place holder should change.... without refreshing the page....

View 7 Replies

AJAX :: Modalpopupextender Can't Disable The Parent Page When Popup Window Is Open

Dec 23, 2010

[Code]....

modalpopupextender can't disable the parent page when popup window is open

View 5 Replies

Social Networking :: Open Authentication Page In Popup In Snippets FaceBook API

Sep 4, 2013

I am following your code. In "FaceBookConnect.Authorize", if a user is logged in in Facebook, it prompts for authentication. But if the user is not logged in, it redirects to facebook home page. I would like to create a pop up instead. Is it possible to do so?

View 1 Replies

Web Forms :: Creating A Popup Out Of An Aspx Page?

Mar 23, 2010

Is it possible to create a popup window using an Aspx page and Java Script? I thought I saw this done once, but I don't recall how it was done. Here is really what I want to accomplish

So here is the pseudo code of what I would like to do.

1. Have an Aspx web page named default.aspx with a button on the web page named "Press Me"

2. Have an Aspx web page named popup.aspx that is 1/4 the size of the web page in step 1 and has a texbox control named txtPersonsName. And a submit button.

3. When the button on default.aspx is pressed, the web form in step 2 popup.aspx is displayed giving the impression of a popup window. A person enters their name on popup.aspx and then presses the submit button. The popup closes and the code behind of default.aspx captures the name entered in popup.aspx

Thougths: I think popup.aspx can be displayed using Java Script from the code behind of default.aspx. Or from within default.aspx.

View 1 Replies

How To Open The Aspx Page File

Aug 5, 2010

I noticed this a week ago but on my Win7 Ultimate x64 computer VS 2008 will completely lock up whenever I open an aspx page in form view. It has no problems opening the code behind and web config file but it will not respond when I try to open the aspx page file. What's up with that?

View 6 Replies

Web Forms :: How To Open Aspx Page In A New Tab

Jan 23, 2010

using a link button a new window is coming based on the pasted code below.how to open this same page in a new tab instead of a popup window using this same code structure in a link button?

Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click
Page.ClientScript.RegisterClientScriptBlock(Me.GetType(), "popup", "window.open('http://localhost:81/webform1.aspx?username=" & usd & "','','scrollbars=yes,menubar=no,height=700,width=600,resizable=yes,toolbar=no,location=no,status=yes')", True)
end sub

View 3 Replies

Open Notepad Application From Web Aspx Page?

Mar 19, 2011

How i can open windows application form aspx page

View 4 Replies

Web Forms :: Open An Aspx Page With New Window?

Mar 25, 2011

In my web application i have three buttons. Submit,Server Update and Delete. If i click on the submit button then all the information will be stored and remain in the same page.after that if i click on the server update button then all the same information will be stored in the another server.and it is open with new window.after that when i am clicking on the submit button then it will go to the next page with another window.i have to go to next page with same window.my code is

<asp:Button ID="ButtonServerUpdate" runat="server" Text="Server Update" Width="80px"
Height="25px" onclick="ButtonServerUpdate_Click" OnClientClick = "document.forms[0].target = '_blank';"/>
<asp:Button ID="ButtonSubmit" runat="server" Text="Submit" Width="80px"
Height="25px" onclick="ButtonSubmit_Click"/>

How can i solve this?

View 1 Replies

Web Forms :: Open .chm File In Aspx Page?

Dec 30, 2010

I am trying to open .chm file from server. When i download the file from server to my machine, it downloads it successfully but when i open the file it did not show any content in it. Can anybody tell me that how i can download file from Server? My secod question is that can i directly open .chm file from server in aspx page?

View 2 Replies

Web Forms :: Open Aspx Page In New Window?

May 21, 2010

On button click im using this Server.Transfer("abc.aspx", true); to transfer to abc page..what i need is i need to open in new window by this abc.aspx page on button click..here im passing parameter to abc.aspx page, so let me know how to do...

View 7 Replies

Web Forms :: Open Aspx Page In Modal Pop-up?

Feb 16, 2011

on link click i am using window.open of javascript to open aspx page.

but i want to open new aspx page in ajax controlkit's modal pop-up, because there could be a chance of disabling the pop-up's (window.open) in browsers.

View 1 Replies

JQuery :: Getting Error In Opening Aspx Page In Modal Popup

Jul 2, 2010

I am trying to open aspx page in jquery modal popup. Its opening fine, but if i am firing any event of that page(page which is inside modal popup) i am getting javascript error:

Microsoft JScript runtime error: 'theForm.elements.length' is null or not an object

View 2 Replies

AJAX :: Change The Aspx Page Based On The Popup Extender Values?

Feb 19, 2010

I am having an aspx page which displays the map. When i click on a button on the aspx page, modal popup extender will be displayed.This popup window is having some textboxes .

My requirement is , the graph displayed in the aspx page should change based on the values entering in the textboxes in the popup extender.

Is it possible to keep the aspx page enable even though the popup extender is displayed?

Is it possible to change and display the aspx page values(map like google map) based on the values in the popextender?

View 2 Replies

How To Open Aspx Page In New Browser Window From SilverLight Application

Oct 6, 2010

I want to add a button to my user control in SilverLight 4.0 application which will open a new browser window with an aspx in it when it is clicked.

Additionaly, can I lock the SL application until this new window is closed (Alike a modal dialog)?

View 2 Replies

Thickbox Open Aspx Page Not Close By Tb_remove() Script

May 4, 2010

I am opening a thickbox in aspx page using following line

<a
class="thickbox"
href="BBBuyResult.aspx?keepThis=true<%=getPassResult()%>&TB_iframe=true&height=600&width=800" title="Buy
Now"><b>Buy Now</b></a>

then in server side scripting i need to close this page and redirect parent to some other page i use this code

Page.ClientScript.RegisterStartupScript(
Me.GetType(),
"closeme",
"window.parent.tb_remove();window.parent.location='https://shop.netcentral.co.uk/order/';",
True)

this is not working, when I use inlinetab in thickbox i can close opened div using self.parent.tb_remove()

View 5 Replies

Web Forms :: Aspx Page Has No Code Being On First Loads - Display Java Script Popup

Mar 21, 2010

I am maintaining a website that has .Aspx web pages with no code behind C# files. This has been a challenge for me, because I need to do the following:

1.) When the page first loads, display a Java Script popup message box.

So how can I do this if I don not have a code behind C# file where I can check for isPostback in the on page load method? Can the on page load method be placed inline in the .aspx code? Anyway I need to figure out how to answer my question 1 above.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved