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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:40:25+00:00 2026-06-03T21:40:25+00:00

When creating a new user in my application I’m displaying a JQuery modal popup

  • 0

When creating a new user in my application I’m displaying a JQuery modal popup ( .dialog() ) which consists a partial view with Three sub-partial views being displayed as tabs.

Tabs content ( partial views ) gets loaded inside of the modal popup with an Ajax call that simply replaces with

Javascript to render a tab content:

        $.post('@Url.Action("AddUserEducation","User")', { id: userId},
        function(data) {
            $("#education").show().html(data);
           }

ActionMethod:

    public PartialViewResult AddUserEducation(Guid id)
    {
            var userEducation = new UserEducation();
            var user = GetUserFromRepository(id);
            userEducation.User = User;

            return PartialView("UserEducation", userEducation);
    }

User partial view where tabs will be displayed:

<div id="details"></div>
<div id="education"></div>
<div id="employment"></div>

so every time the tab is switched another partial view gets loaded inside of the popup Div.

I can’t think of a good way to keep my data when I switch tabs.

Every time I switch tabs an Actionmethod is called to populate div with the tab content html and I loose everything that was already entered.

Thanks in advance guys! Please don’t hesitate to ask any questions.

Extra info:

Models: For a parent popup I have a “User” model and then I pass its UserDetails, UserEducation and UserEmployment to the three partial view tabs respectfully: User details, User education, User Employment.

How can I let the user freely navigate through tabs without losing data so that when finished they can simply save the User model and have the three connected entities saved as well without losing any data.

p.s. I’m not using the jquery tab control because I’m required not to.

  • 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-03T21:40:26+00:00Added an answer on June 3, 2026 at 9:40 pm

    You should load this partial view into popup all at once. I mean all content of all 3 tabs tabs. Show more code to get better solution, especially Javascript part.

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

Sidebar

Related Questions

So within my application is a form for creating a new user, with relevant
I have such view that handles user registration. After creating new user i want
I've created a C# WinForms application using VS2010. I'm new to creating user controls
I'm creating a new WP theme and I would like to allow the user
In my application, an authorized user will Register a new customer and set their
I'm creating my first ROR application. Details: creating new app -> rails new simple_cms
When I'm creating a user for my web application, an SMTP email (using ASP.NET's
We are creating a new user control using a boiler plate template for our
I am in the process of creating a new skin for an application written
I have several questions regarding CI application design. Q. When creating a new form

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.