VS 2010 / Refresh Page Open In Another Tab?

Nov 19, 2014

I have an internal web application used by one department in our company. The app has a page with a gridview showing all inspection records for a part. When the user clicks on a record it will open that record in another tab. After they are done editing that record and click the close button I would like the original page with the gridview to refresh. Is this possible? Any examples? I've googled and checked other forums and can't seem to find any reliable method to do this.

View 1 Replies


Similar Messages:

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

JQuery :: How To Open A Page & Refresh That Page On Form Submit

Nov 21, 2010

how to open a new page in Jquery on Click of anchor tag ...

I guess this functionality is not achiveable with Jquery That is Why i use GreyBox for this .

In [URL]

But the Problem is when we click on see detail button of each product , It will open a page in IFRAME ..

When we click Add to Cart Button , it will open the new page in that I-FRAME

I want to refresh the parent page to be Refreshed ... it will open the Shopping cart page in the IFRAME

Is There any other way to achive this functionality , any other jquery ??

View 1 Replies

VS 2010 - Stop Master Page Redraw / Only Refresh Content Page?

Jul 20, 2012

I am writing a web application which consists of a master page (header / menus) which does not change and content pages. When I do something like click on a button it causes a post back which is correct but this redraws the whole screen and becomes annoying because every post back and the whole screen flickers.

Is there a way to only refresh the content page?

View 5 Replies

Web Forms :: Open A New Browser From Code Behind Without Causing Page Refresh

Feb 12, 2010

I need to implement a "preview" functionality where people make changes to a form, click a button and a pop-up window displays the preview while the original form retains the user's changes in the various <textarea's. Right now, the preview is working, but when they come back to the form, their changes are gone, the page has refreshed. How do I prevent the page from refreshing? I need to go to the server to get the URL to the preview page.

View 6 Replies

Web Forms :: Open New Window From Server Side Without Page Refresh

May 7, 2015

How to open in new window on button click in asp.net without page refreshment ....

View 1 Replies

Web Forms :: Why Refresh Page And There Is One Window Open Let Choose Retry Or Cancel

May 15, 2010

When I refresh the page in IE. It showed one window and say: if you don't resend the information then you cannot refresh the page, choose retry to resend the information and choose cancel to cancel it.

How can i change code to delete such window when I refresh page? My page is [URL]

View 9 Replies

AJAX :: How To Refresh Parent Page Details By Keeping Child Window Open

Apr 28, 2010

I have a screen where on filter icon click on a column i need to show a popup screen or a div looks like popup and in which will have list of check boxes with distinct values of all rows of column one (i.e. the data of popup is like below). All these check boxes are dynamically generated controls.

checkboxcontrol Data1
checkboxcontrol Data2
checkboxcontrol Data3

When user click on any of the above check boxes the parent grid should get refreshed with the filtered data and popup or div tag looks like popup should stay and should not be closed. How do i do this?

The main screen has details like below

Data1 Column2Data Column3Data
Data2 123Data Column3Data
Data2 Column2Data Column3Data
Data3 Column2Data Column3Data

How to refresh my parent page details by keeping my child div tag open or child window open? What is better approach whether to create server side div tag or a modal popup window?

[Code]....

View 4 Replies

VS 2010 - Need To Have Page Open In A Separate Window

Nov 3, 2011

using a asp.net xml menu...need to have the page open in a separate window but the target attribute isn't working

Code:
<SubMenu text="About4" url="About4.aspx" target="_blank">

View 4 Replies

VS 2010 Menu Control - Open Separate Windows When Page Is Selected

Oct 14, 2011

Looking to open a separate windows when a page is selected from the menu.Here's the xml code using taget=_blank...but it's not working.

Code:

<MENU text="Help" url ="">
<SubMenu text="About" url="About.asx" target="_blank"></submenu>
</Menu>

View 5 Replies

Forms Data Controls :: How To Refresh Page Without Going To Top Of Page When Refresh Is Done

Nov 3, 2010

I have a table on my page. I need to scroll down a little to get to that table. In that table i have som data that i edit and save to database. When the save is done i need to refresh the page( Response.Redirect(Request.RawUrl )) so it loads the new data to that table. When the refresh is done the page is on top again so that i need to scroll down again to see the table. This makes it very unusable for the user.

How can i refresh the page without it going back to top again? I tryed wrapping an updatepanel around the table but it didnt

View 1 Replies

Refresh Small Part Of The Webpage Without Refresh The Entire Page In C# ?

Mar 11, 2011

how we can refresh small part of the web page without refresh the entire page in C# ?

View 2 Replies

Web Forms :: Make An Ifrom Refresh Without Having To Refresh The Whole Page?

Jan 18, 2010

1. Is there anyway to make an ifrom refresh without having to refresh the whole page?

2. My iframe just wont display when I run it. It just displays a grey screen with the file name in the middle.

<
iframe
runat="server"
id="IframeOne"
src="~/Test.aspx"></iframe>

View 3 Replies

Web Forms :: How To Open A New Window And Refresh Old One

Feb 1, 2010

How can I refresh the current page after I opened a new one using javascript. Code below works great if its last command in method but when I add "Response.Redirect(Request.Url.AbsoluteUri) after, it doesn't work anymore.

[Code]....

View 6 Replies

C# - Disable Refresh When Dropdownlist Is Open?

Jan 27, 2011

i have a webpage that loads data into a gridview and refreshes the gridview every few seconds. I do this via a asp:Timer which runs a C# function every few seconds to requery the database and databind the gridview.

I also have a few dropdown lists to filter data from the gridview. These dropdown lists get their data from the same dataset as the gridview (e.g. if the gridview shows the stats of all apples being plucked from trees, then the list may contain e.g. all distinct apple types). How i refresh these dropdown lists is again to requery the dataset and reset the selected index to be one selected at time of refresh. So this causes a problem where the timer is up when the dropdown list is open - the index on the dropdown list is selected and refreshes the gridview, the dropdown list also refreshes with the current selected index and closes.

So the question i have how to disable my timer refresh from going off while the dropdown lists are active - or maybe how do i do this better?

View 1 Replies

State Management :: Refresh All Open Sessions?

Dec 31, 2010

This last week I had an issue about refreshing all open sessions on an asp.net web site. The scenario it's like this:

It's a LAN application with different roles (let's say "Role A" and "Role B") and a database of SQL server.

Any "Role A" user can click a button and start something like a survey (defines a query and the possible options).

Then, any "Role B" user have to answer that survey (just once).

Here comes my problem...if I am a "Role B" user, and I have the "AnswerToSurvey.aspx" page open...how it can automatically update or refresh after the "Role A" user inserted the survey? I mean, I know that if I press F5 I will achieve it, or even using asp:Timer or javascript timer, but any of them are precise.

Any suggest? I've tried using Global.asax Application_BeginRequest and so, but no lucky. Is there any effective way to notifiy a user that something has changed? I'm not looking for a "chat like" system, just notify any "Role B" user about the change.

View 3 Replies

Page.Refresh Type Of Command To Refresh A Page?

Feb 10, 2010

Is there a Page.Refresh type of Command to refresh a page? I don't want to redirect to the page or refresh in javascript.

View 4 Replies

VS 2010 / Refresh A Database Query And Listbox?

Jun 30, 2012

I have a dropdown list which provided input to a SQLDataSource query which is bound to a listbox. When the user changes the index of the dropdown box, I want to trigger the SQQLDataSource to requery the database, and repopulate the listbox.

I have set the autopostback = true for the dropdown box. I have also added a Response.Redirect back to the same page in the SelectedIndexChanged method, but the DataSource does not Repopulate. How to trigger the requery?

View 1 Replies

VS 2010 - How To Open PDF In New Tab

Feb 7, 2011

I have a small problem and have been staring at it for hours, tried various methods, but absolutely no joy. I’m trying to open a PDF document in a new or tab.

The name of the file: “MY DOCUMENT (2011-02-07).PDF”. This value is selectable from a list box (“lbDocuments”), i.e. “lbDocuments.Text”. The document path: “/Documents/”.

Code:

TempString = "~/Documents/" & lbDocuments.Text
Response.Write("<script>window.open('" & TempString & "','_newtab');</script>")

The Response.Redirect works perfectly and I have tried various other Window.Open methods with no success, but always get an error: “Microsoft JScript runtime error:

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.”.

View 7 Replies

Web Forms :: How To Open The Redirected Page From Iframe To Open In The Parent Window

Feb 17, 2011

I have an asp.net page that contains an Iframe embedded with some data and a ImageButton. On ImageButton click event (server side) I have Response.Redirct:

Response.Redirect("results.aspx");

This always open the results.aspx in iframe. I want that results.aspx should always open in the parent window. I tried the following till now but none worked:

Response.Redirect("<script language='javascript'>self.parent.location='results.aspx';</script>");
Response.Redirect("javascript:parent.change_parent_url('results.aspx');");
..and also tried the options from [URL]

View 1 Replies

MVC 3 Hangs When Open A New Project Using VS 2010 SP1 Beta?

Jan 17, 2011

ASP.NET MVC 3 was released on Jan 13, 2011. I was able to install it on my XP SP3 workstation. But, when I opened an MVC C# project, VS 2010 hangs. I have repaired VS 2010 and Framework 4.0 with no luck. The issue was resolved after uninstalling VS 2010 SP1 Beta. Does anyone know if ASP.NET MVC 3 works with VS 2010 SP1 Beta?

View 1 Replies

Visual Studio :: 2010 - Can't Open Local IIS?

May 6, 2010

I've just downloaded VS2010 Express to play with on my personal laptop. However, when I try to open an existing website through the "Open Web Site..." / "Local IIS" button, the system trundles on for a bit and then says: "To access local IIS Web sites, you must install the following IIS components: In addition, you must run Visual Studio in teh context of an administrator account."

Note the blank line after the "you must install...." [strikeout]Is this a limitation of the "Express" editions of Visual Studio? [/strikeout] I've just installed VS2010 Premium from our MSDN DVD and it has the same problem.... Also, seems to have broken VS2008 as well since I can no longer browse Local IIS from VS 2008 either. Good thing I installed this on my backup machine first and I can still get work done on my main development machine!

View 12 Replies

Page - Dont Want Full Page Refresh When Click A Button In A Web Page?

Feb 18, 2010

How can I use double buffering in asp.net C#?I want smthng like that : I dont want full page refresh when I click a button in a web page.. I think it can be solved with double buffering. When a button clicked for redirect a content page (button-in master page), current page will not go until the redirected page completely load in the background..

View 3 Replies

Open A New Page And Open Only One Time?

Feb 14, 2011

I've been working with this code

Code:

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Response.Write("<script>")
Response.Write("window.open('http://www.google.com','_blank')")
Response.Write("</script>")
End Sub

but I would not open the page immediately, but when given a click anywhere on the page, an example of what I do is [URL] need to click anywhere on the page to open a separate new page (pop up)
and if you still go back to the site and give again a click anywhere on the page no longer loads the new page, I don't know if I'm being clear.

View 8 Replies

Updatepanel - Update Panel In Master Page, Refresh Button In Content Page?

Feb 26, 2011

I have Update panel in Master page:

<asp:ScriptManager id="CartScript" runat="server"></asp:ScriptManager>
<asp:UpdatePanel id="CartBox" runat="server" updateMode="Conditional">
<ContentTemplate> [code]...

But i got same error. how I can add to my Update Panel that Button from Content Page can refresh it?

View 1 Replies







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