-----------------------------------------------------------
New Message on MumbaiUserGroup
-----------------------------------------------------------
From: Rohit_BD
Message 4 in Discussion
Another way is this: Just above the datagrid, add the following line: <a
name="#datagrid"></a> [ Datagrid and stuff... ] instead of doing
window.opener.location.reload() do this:
window.opener.location.replace(window.opener.location.href + "#datagrid"); The above
may not work properly with IE due to certain security patches. The alternate way is -
IN PARENT PAGE 1) Create following hidden field: <input type=hidden"
id="hSelfURL" runat="server"> 2) In Page_Load, write: hSelfURL.Value =
Request.Url.ToString(); 3) Create a JavaScript function: function reloadSelf()
{ location.replace(document.forms[0].hSelfURL.value + "#datagrid"); }
Now, from the pop-up, instead of doing window.opener.location=..., simply do
window.opener.reloadSelf(); Once this is done, the window will automatically scroll
to the top of the datagrid once the page loads.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/MumbaiUserGroup/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]