Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8206051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T08:31:17+00:00 2026-06-07T08:31:17+00:00

I want to refresh page when close the dialog? Is this possible? How can

  • 0

I want to refresh page when close the dialog? Is this possible? How can I do this?
There are links that opens the their own dialog. But When I clicked first time any link, dialog cache it’s id, And then I clicked others, link id always same (first clicked id).

Should I refresh the page when close the dialog or Is there another way to fix this problem.

I use codes in below for opening dialog:

@foreach (var item in Model)
{
   <tr>
       <td>@Html.ActionLink(linkText: item.musteri_adi,
           actionName: "MusteriDuzenle",
           controllerName: "Musteri",
           routeValues: new { sno = item.sno },
           htmlAttributes: new { @class = "open_dialog", data_dialog_title = item.musteri_adi })
       </td>
       <td>@Html.DisplayFor(x => item.fatura_adresi)
       </td>
   </tr>
}

Thanks. And sorry my poor english 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T08:31:20+00:00Added an answer on June 7, 2026 at 8:31 am

    You can use beforeClose event to call a function to refresh your page.

    $( "#myDialog" ).dialog({
       beforeClose: function(event, ui) {
          window.location.reload(); 
          // or you can use window.location = 'mypage.html';
    }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to refresh the parent page when I close my jQuery dialog. this
hi i want to refresh user page with different data but with same template
I want to submit a form without page refresh using jQuery. I found some
i just want to find out the name of this grid to refresh it.
I want to do something like this. while pressing the refresh button, it will
What I want is to have links which change a part of the page
Safari has a feature to prompt you if you're sure you want to close/refresh
I have this php page that posts to itself and then it checks weather
I want to refresh a web page and retain the value of the variable
i call my UI dialog from page which has scriptManager, this way: function openDialog()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.