Jump to content
xisto Community
Sign in to follow this  
iGuest

Refreshing a page from another page Refresh Main Window By Clicking Link In Popup?

Recommended Posts

Refreshing a page from another pageRefresh Main Window By Clicking Link In Popup?

hello everyone,

I am developing a website,I have opened a new window(child page) from current page(parent page) my application requirement is to update the parent page by clicking a button in child page.

can any one help me to continue my project ?

mukesh

-question by mukesh

Share this post


Link to post
Share on other sites
Refreshing a page from another pageRefreshing a page from another page

on the click event of the button in your child html page write this code:

 opener.Location.Reload(true);

and the parent html page would be refreshed.

-reply by Neha

Share this post


Link to post
Share on other sites

If your using javascript, you can open a new shild window with the same paramets, and it will replace the current one. If you want the page to remain but the content to change you can use ajax with a database for that. There are someother ways, but i havent done anything like that for a while so cant remember, look around on a good search engine.It kind of depends on what you want to use it for.

Share this post


Link to post
Share on other sites
refreshing part of a page without form elementsRefreshing a page from another page

so how would you refresh just a section of the page using ajax? and there are no form fields... The page content is loaded dynamically in the background...

-reply by chris

Share this post


Link to post
Share on other sites
How to refresh an aspx page from the current window/modalpopupRefreshing a page from another page

Hello,

I have a modalpopup on the page, which contains <img id="imgCaptcha" runat="server" src="../captcha.Aspx" />.Captcha.Aspxpage returns a new image created to captcha(the code is written in Page_Load event).

I want to refresh the image every time user inserts wrong captcha...

How to do thins?

I have used javascript

  window.Location = "captcha.Aspx";   img.Src = window.Location.Reload(true);

but it doesn't work.

Any idea...?

thanks and regards,

Prachi

-reply by Prachi

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.