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 885239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:52:41+00:00 2026-05-15T12:52:41+00:00

I use this in my Index.aspx: <%= Html.StandardOverlayCreateButton() %> <div class=apple_overlay id=overlay> <div class=contentWrap>

  • 0

I use this in my Index.aspx:

<%= Html.StandardOverlayCreateButton() %>
<div class="apple_overlay" id="overlay">
    <div class="contentWrap">
    </div>
</div>

Which is translating into this:

<a href="Employee/Create" rel="#overlay"><button type="button">Create</button></a>
<div class="apple_overlay" id="overlay">
    <div class="contentWrap">
    </div>
</div>

When you press the button the popup with the Create.aspx occurs. Look at this -> Loading external pages into overlay

For me it seems that the overlay performance is slow.

And there is some strange behaviour, because I can nearly everytime see the old values in the popup. If I click the edit button and then close the popup and click another edit button, I can see the old values for a short time.

Is there a better approach of doing a popup using ASP.NET MVC and jQuery?

Are there tutorials?

  • 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-05-15T12:52:42+00:00Added an answer on May 15, 2026 at 12:52 pm

    Everything is being done client-side so the performance is purely down to JavaScript and jQuery code and nothing to do with any server-side code such as ASP.NET MVC.

    You’re using quite a few sophisticated effects with that popup, I see <div /> resizing animations, transparency, drop-shadows, the works. JavaScript performance has come on leaps and bounds with recent browsers, but it’s performance but still be slow for doing very extravagant visual effects. Have you tried tuning down the visual effects with whatever modal popup JavaScript library you’re using.

    “And there is some strange behaviour,
    because I can nearly everytime see the
    old values in the popup. If I click
    the edit button and then close the
    popup and click another edit button, I
    can see the old values for a short
    time.”

    I assume the pop-up is actually loading an iframe which points to the ‘Employee/Create’ page. My guess is that when the pop-up is closed and then re-opened again with a different page, the previous page will still be sitting in the pop-up’s iframe, and the “load-new-page/url” event isn’t fired until the pop-up re-appears, hence why you’re seeing the old page very briefly.

    I had a similar problem to this, you need to tune the modal pop-up behaviour slightly so that it first loads the new page then opens the pop-up, rather than the other way around which is what it’s currently doing. My solution to this was a bit hacky in that the page inside the iframe has an $(document).ready({}); event that called some JavaScript function the the iframe’s parent to load the pop-up. eg. put this in your page that sits inside the iframe:

    <script type="text/javascript">
    
        $(document).ready(function()
        {
            window.parent.openPopup();
        });
    
    </script>
    

    Then you need to define the ‘openPopup()’ JavaScript method in the iframe’s parent (ie. the main page the lists your records).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In views/home/index.aspx: <% this.Html.DisplayFor(m => m.NewLink); %> index.aspx is strongly typed to HomeViewModel.cs, which
Asp.net Mvc1 On my Views/home/Index.aspx which routes from http://localhost/DefectSeverityAssessmentMvcBeta/ This renders Response.Write(<a href=\); Response.Write(Url.Action(Create,
i have to use code this.setUp(http://www.remax.com/, *firefox); selenium.open(/404/index.aspx?aspxerrorpath=/public/pages/searchresults.aspx); slenium.click(link=Find a RE/MAX Office); selenium.waitForPageToLoad(30000); selenium.selectFrame(REMAX
can anybody help me solve this : i got $filename= index 198.php; i use
i use this script to load content of some div, inside another div: $(function()
I have a ViewPage , Index.aspx. In it, I have: <%= Html.Partial(~/Index/ViewUserControl/Promo.ascx, new PromoViewModel());
I have a user control called adminMenu and I use it in my index.aspx
I have a controller which renders a view (~/Views/Component/Create.aspx) no problem. When this view
I have the following rewrite rule: <rewrite url=^/Membership/(.+)/(.+)/(.+)/(.+) to=/Membership/Index.aspx?parentf=$3&amp;f=$4/> which I am expecting should
The very famous ActionLink : <%: Html.ActionLink(Back to List, Index)%> Now, this link is

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.