Web Forms :: Making A Hyperlink Open A New Browser Window Full-Size

Jun 29, 2010

I have the following hyperlink code that opens a new browser window to display a page. The page (browser) opens not full size (maybe something like 500x500). How can I modify this code to make the new browser window open full-size?

[Code]....

View 4 Replies


Similar Messages:

How To Open Full Size Window / Toolbar / Address Bar And Menu Should Be Hidden Using Javascript

May 25, 2010

How to open full size window. Toolbar, address bar and menu should be hidden

View 2 Replies

Web Forms :: Open Hyperlink In A New Window?

Mar 6, 2010

I am using an Image button in a gridview and I want it to open in an new window when I click that image button. How should I do that?

View 6 Replies

Forms Data Controls :: Open Hyperlink In New Window?

Jun 30, 2010

I have a hyperlink being returned as a template field in a gridview, it all works except that I would like the link to open in a new window.See code...

<asp:TemplateField HeaderText="File Name" SortExpression="projectFileName">
<itemtemplate>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl= '<%# "~procure_files" & DataBinder.Eval

[code]...

View 2 Replies

Forms Data Controls :: Open A New Window From Listview Hyperlink?

Jan 14, 2010

Here is my code which works but opens in the same window from a listview hyperlink.

I'm trying to insert Target="_blank" so a new window opens.

<asp:HyperLink
runat="server"
ID="hl"
NavigateUrl='<%#Eval("BarDetailsId","aaaVenueSummary.aspx?ID={0}")%>'
Text='<%# Eval("BarName") %>'></asp:HyperLink>

View 5 Replies

Forms Data Controls :: How To Open New Window From Hyperlink Using Conditional Statement.

Dec 28, 2010

my code is :

[Code]....

row.item(6) field is a navigate url (asp:hyperlink) in front-end code as <eval('url')>

row.item(7) is a boolean field with values : true/false.

if row.item(7) is true then the hyperlink page must open on the current page.

whereas if row.item(7) is false then it should open in a new tab/window.

View 7 Replies

Web Forms :: Jimmit> Open New Window When User Clicks A Hyperlink Control?

Mar 25, 2011

I am creating a webform where a hperlink control is added dynamically and i want to open a link of that hyperlink in a new browser window.

View 4 Replies

Web Forms :: Open A New Browser Tab/window Using C#?

Oct 11, 2010

Is it possible to Open a new browser tab/window using c#. I have query string info I don't want to put in a hidden field due to it showing on the client side. I do save the data in ViewState and encrypt the viewstate; however, I don't know how to access that information on client side.

I can access the viewstate data fine on Server Side but I need to open the new browser window on server side in order to access the ViewState. I may be wrong. Is there a trick to this?

I did find a way; however, on any other click after the initial click everything goes to a new window:

Control:

[code]....

View 1 Replies

Web Forms :: Open Up New Browser Window With C#?

Mar 9, 2010

How do you write C# code to open up a New Browser window with for example [URL]

View 4 Replies

Web Forms :: Use "Window.Open" Method To Create A New Browser Window From C#?

Aug 25, 2010

I using VS2008 and C# for an ASP.NET web application. From within C# code, how to use the "Window.Open" method to create a new browser window? I know it can be done in ASP script code using Javascript but I would like to create new window from C# as desired.

View 11 Replies

JQuery :: Convert (or Show ) Iframe To A Full Window Browser?

Jan 18, 2011

source="a.html"

<iframe id=frame1 frameborder='1' scrolling='no' allowtransparency='true' src='" + source + "'></iframe>

how to show this frame in full window

View 1 Replies

Forms Data Controls :: Open Popup Window In Datalist Hyperlink With Databinding?

Feb 16, 2010

How to open popup window in datalist hyperlink with databinding

my code is:

[Code]....

View 2 Replies

Web Forms :: Open Browser Window And Populate From Code Behind

Sep 13, 2010

I have a variable, which contains a whole web page. Is there a way to open a new browser window and set the contents of this variable as the page? I don't mind if it's javascript, but it has to be able to hold a bit of data if this is the case.

View 6 Replies

Web Forms :: Open Browser Window From Windows And Send XML Data

Aug 10, 2010

I have a project where we need to launch a browser window from a desktop application and provide the newly opened page with XML data for it to process before the page fully renders itself.

Sub WinAppButton_Click
'Generate xml data
'Open url in browser and post xml to the page without any visible http request arguments showing.
End sub

Handling the xml data from the page_load is easy enough. Getting the initialization data to the page is the problem.

View 2 Replies

Hyperlink - .Net Open New Tab In Browser From CodeBehind?

Apr 3, 2011

I need to open a browser tag within a link that is given from me from an asp.net code behind.Normaly I would have a link and target="_blank", but the link that I need is dynamic, so i must have the behauvior of a _blank-link from code behind.

View 2 Replies

Web Forms :: Open New Browser Window From Gridview Selected Item Link?

Jan 26, 2010

I know this is probably a pretty normal pattern, but, I've never had to code it up. I'm using a GridView to display various items from a SQL query. I can do this without any problems. Upon selecting a specific item, I want to open a new page based on the selected row item link that passes some parameters to a SQLDataSource in the newly spawned window. I know I can use the javascript window.open function() to create a new window, but, I don't know how to pass the desired code to this new window.

View 1 Replies

Web Forms :: How To Open Popup Window In C# Application Without Browser Silently Blocking It

Jan 4, 2011

I can't use RegisterStartupScript('window.open...), because Chrome blocks the popup without even informing the userI can't use "onclientclick=window.open(..." in the markup, because I have to invoke code in the button click event handler before opening the popup window.I can't expect every user of the website to add the site as an exception in Google Chrome's popup blocker, since they'll assume it's an error on the website and not with the popup blocker

View 5 Replies

Web Forms :: Distinguish Between Window.open Request And Copy Paste It In Browser

Apr 19, 2010

We have a page that is opened in the child window using window.open. Now the user will copy the child's window Url and copy-paste it in the browser. We need to restrict this scenario. How should we do this. I mean I need to know in my page load method whether the request has come from window.open or whether the user copy-pasted the Url on the Browser's Address bar.

View 7 Replies

Forms Data Controls :: Gridview To Excel - Open In The Same Browser Window?

Feb 3, 2010

I'm exporting the GridView to Excel. It works fine and I receive a prompt to Save/Open/Cancel the file although I need the file to be saved automatically in the provided (passed to the Export function) location and opened in the same browser window where the Gridview was.

View 2 Replies

Web Forms :: Open Word Excel PDF PowerPoint (PPT) Files In New Browser Window?

Mar 26, 2016

Below is the page and file is in local drive.

<asp:GridView runat="server" ID="gvDetails" AutoGenerateColumns="false">
<Columns>
<asp:BoundField DataField="Id" HeaderText="Id" />

[Code].....

View 1 Replies

How To Open New Browser Window Via Code Behind Side

May 15, 2010

I want to pass these properties:

width=800,height=800,scrollbars=yes,resizable=yes,toolbar=no,directories=no,location=no,menubar=no,s tatus=no,left=50,top=0

following two lines i am using with aspx / vb.net codebehind side to open a new browser window: want to pass above properties, is it possible?

Dim url As String = Session("gDocScanURL") & "ScanDocument.aspx?XYFileDocID=" & iDocID & ""

Response.Write("<script>var w=window.open('" + url + "'); w.focus();</script>")

View 3 Replies

Open New Browser Window Using Outlook Link?

Jan 7, 2011

I am sending mail using .net c# code. In that mail i am providing link of customer website. When anyone click on link (in outlook mail) then it will open new window if already not opened any window. Suppose user already working in IE browser [URL] and then user click on link using outlook mail then link open in new tab in already opened IE browser window. So i want that everytime open new browser window when click on link.

View 4 Replies

Open A New Browser Window From A Page AND Output To It?

May 26, 2010

How can I open a new browser tab in ASP.NET and write to it? I don't want to redirect to a page but I want to write/output the content directly from source.

View 2 Replies

Open New Https Browser Window Using JavaScript?

Jul 30, 2010

I have situation where in c# code I am adding an onclick client event handler.
It should do:

Button1.Attributes.Add("onclick", "javascript:window.open('https://"+Request.ServerVariables["HTTP_POST"]+"/reports/?type=1&id=2");

in the end the URL looks like:

https://servername/reports/?type=1&id=2

in the reports folder of my site I have a default aspx page that handles those parameters.

When I click the button with this event, a new window opens but it says there is no page at that address. When I use the link like this

https://servername/reports/default.aspx?type=1&id=2

The page opens but it's blank.

When I run this code as non secure with HTTP, everything works just like it should. The report opens.

Is there any difference using those two different URLs with default.aspx and without it, because in development it behaves the same way, but under HTTPS one page doesn't exist and another is blank?! Is HTTPS the reason for that?

View 3 Replies

Web Forms :: Reload The Parent Browser Window From Client Browser Window In Codebehind?

Sep 27, 2010

Im calling the new popup window from gridview like

[Code]....

In the AddTargetPopUP.aspx ,I have button Call "ADD".When i click the add button it'll insert datas into database.I want to reload the parent gridview after insert into the database and want to close the popup.

View 4 Replies







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