Hi,
I have grid's col defined as HyperLinkColumn,
I defined the Target as "_blank" to force open a new winodw.
When the new window is closing, how to refresh the parent window?
Thanks. 5 1429
You'll need to add client-side event handler script in the new window
The new windows should have an "window_onclose" event handler, and then it
can call something like this
window.parent.refresh();
"LL" <li*******@hotmail.com> wrote in message
news:u5**************@tk2msftngp13.phx.gbl... Hi,
I have grid's col defined as HyperLinkColumn, I defined the Target as "_blank" to force open a new winodw. When the new window is closing, how to refresh the parent window?
Thanks.
Before calling window.close(), you can do this window.opener.location.href =
window.opener.location.href .
--
Saravana
Microsoft MVP - ASP.NET www.extremeexperts.com
"LL" <li*******@hotmail.com> wrote in message
news:u5**************@tk2msftngp13.phx.gbl... Hi,
I have grid's col defined as HyperLinkColumn, I defined the Target as "_blank" to force open a new winodw. When the new window is closing, how to refresh the parent window?
Thanks.
Thanks for the help.
Can I this when I click on the "Edit" button(using datagrid)?
Because I want to open a detail form window.
Can I do this?
Thanks..
"Saravana [MVP]" <sa******@sct.co.in.nospam> wrote in message
news:el**************@TK2MSFTNGP12.phx.gbl... Before calling window.close(), you can do this window.opener.location.href
= window.opener.location.href .
-- Saravana Microsoft MVP - ASP.NET www.extremeexperts.com "LL" <li*******@hotmail.com> wrote in message news:u5**************@tk2msftngp13.phx.gbl... Hi,
I have grid's col defined as HyperLinkColumn, I defined the Target as "_blank" to force open a new winodw. When the new window is closing, how to refresh the parent window?
Thanks.
Yes, you can do it. You can open new window when you press a button in
datagrid. For more details how to open a new window when you press a button
in datagrid, check this article. http://www.microsoft.com/india/msdn/...ndarinASP.aspx
--
Saravana
Microsoft MVP - ASP.NET www.extremeexperts.com
"LL" <li*******@hotmail.com> wrote in message
news:ux*************@TK2MSFTNGP09.phx.gbl... Thanks for the help.
Can I this when I click on the "Edit" button(using datagrid)? Because I want to open a detail form window. Can I do this? Thanks.. "Saravana [MVP]" <sa******@sct.co.in.nospam> wrote in message news:el**************@TK2MSFTNGP12.phx.gbl... Before calling window.close(), you can do this
window.opener.location.href = window.opener.location.href .
-- Saravana Microsoft MVP - ASP.NET www.extremeexperts.com "LL" <li*******@hotmail.com> wrote in message news:u5**************@tk2msftngp13.phx.gbl... Hi,
I have grid's col defined as HyperLinkColumn, I defined the Target as "_blank" to force open a new winodw. When the new window is closing, how to refresh the parent window?
Thanks.
Thanks Saravana.
what's in 'd:\products.xml"?
"Saravana [MVP]" <sa******@sct.co.in.nospam> wrote in message
news:ur*************@TK2MSFTNGP11.phx.gbl... Yes, you can do it. You can open new window when you press a button in datagrid. For more details how to open a new window when you press a
button in datagrid, check this article. http://www.microsoft.com/india/msdn/...ndarinASP.aspx
-- Saravana Microsoft MVP - ASP.NET www.extremeexperts.com "LL" <li*******@hotmail.com> wrote in message news:ux*************@TK2MSFTNGP09.phx.gbl... Thanks for the help.
Can I this when I click on the "Edit" button(using datagrid)? Because I want to open a detail form window. Can I do this? Thanks.. "Saravana [MVP]" <sa******@sct.co.in.nospam> wrote in message news:el**************@TK2MSFTNGP12.phx.gbl... Before calling window.close(), you can do this window.opener.location.href = window.opener.location.href .
-- Saravana Microsoft MVP - ASP.NET www.extremeexperts.com "LL" <li*******@hotmail.com> wrote in message news:u5**************@tk2msftngp13.phx.gbl... > Hi, > > I have grid's col defined as HyperLinkColumn, > I defined the Target as "_blank" to force open a new winodw. > When the new window is closing, how to refresh the parent window? > > Thanks. > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Andrew Alger |
last post by:
ok i have two forms. Customer.aspx and Parent_Searh.aspx. There is a button
on Customer.aspx that when executed runs javascript code to open up
parent_search as a popup. After the user searches...
|
by: Raj |
last post by:
Hi All,
I have a problem with trying to refresh the parent window from
child window in order to update data in the parent window.
The sequence of events are
1) I click a button in the parent...
|
by: Jeronimo Bertran |
last post by:
Hi,
I have a page with a very data intensive grid which needs to be
automatically refreshed constantly if a change is detected. In order to
not refresh the complete page so often, I created an...
|
by: francois |
last post by:
I have a ASPX form with a dropdownlist that makes a post back (to the same
page of course, just a normal asp.net postback)
That page also has an auto refresh javascript as it needs to refresh its...
|
by: Steve Wark |
last post by:
I have created a ASP.NET application and created two forms within the
application (Webform1.aspx & Webform2.aspx). On the first form I have
placed a textbox (TextBox1) and a button, which when...
|
by: Peter |
last post by:
1) I have a C# web application and what I am trying to do is create a popup window from a link on the parent window
2) the popup window will have a button and when a user clicks on the button the...
|
by: Jason S |
last post by:
Hi, is there any way of getting my VB (6.0) program to automatically
'Refresh' an IE window that might be active (window status not applicable).
It needs to be able to determine which active IE...
|
by: Opa |
last post by:
Hi ,
I have a form with javasript which launches a popup via the showModalDialog()
method. I get the dialog to open, now I am trying to first get a reference
to the calling form from the popup...
|
by: martin1 |
last post by:
All,
is there window form refresh property? I try to set up window form refresh
per minute. Thanks
|
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= |
last post by:
Ok guys, refresh my memory. I have a vague memory from years ago of a Dot
Net 1.1 web app in which one window was opened from another (not a message
box or anything like that, but a fully separate...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |