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

  • Home
  • SEARCH
  • 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 6821765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:35:01+00:00 2026-05-26T21:35:01+00:00

I have a ASP.NET MVC application which has a view populated with a model

  • 0

I have a ASP.NET MVC application which has a view populated with a model which needs to retrieve some data from the user. Besides that, I also have a hidden div tag which contains more information but it should be visible only after the model was sent to the controller on a POST request and after it has processed the information from the model it should change the div tag to visible. Is some way to signal the view that the request was processed and render visible the div tag, remaining on the same page. I believe this is similar to a partial postback from ASP.NET.

Thanks,
Tamash

  • 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-26T21:35:02+00:00Added an answer on May 26, 2026 at 9:35 pm

    Yes that’s possible via some AJAX functionality. I’m using jQuery in my example:

    $.post('Controller/Action', $('#formId').serialize(), function() {
      $('#yourDiv').show();
    });
    

    This uses jQuery to post the data contained in a form with the HTML id ‘formId’ to a URL ‘Contoller/Action’ and shows the div with id ‘yourDiv’ in case the AJAX request finished successfully. The call $(‘#formId’).serialize encodes the form elements in HTML form with id formId for submission in the AJAX request.

    More on jQuery and AJAX here

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

Sidebar

Related Questions

I have an ASP.NET MVC 2 application, which has an Application_Error event handler in
I have a basic ASP.Net MVC 3 application which has a number of controllers
I'm developing an ASP.Net mvc application which has a requirement to do some small,
i have asp.net mvc application where my model has a relation like Question can
I have an ASP.NET MVC 3 / .NET Web Application, which is heavily data-driven,
I have a form in my asp.net mvc(C#) application which handles some dynamic controls.
I have an ASP.Net MVC application with a model which is several layers deep
I have an ASP.NET MVC-application which I want deployable on both IIS6 and IIS7
I have a ASP.NET MVC application which is build up as an assembly that
I created a simple ASP.NET MVC version 1.0 application. I have a ProductController which

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.