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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:07:56+00:00 2026-05-22T01:07:56+00:00

In MVC 3, I load a partial view into a div after submitting a

  • 0

In MVC 3, I load a partial view into a div after submitting a GET request. Sine this is loaded into the div, the link to view isn’t contained in the address bar.

How can I include a link in that partial view so it can be accessed directly that includes all of the passed parameters?

  • 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-22T01:07:57+00:00Added an answer on May 22, 2026 at 1:07 am

    So say your root url is: http://www.example.com/home/index you can turn it into http://www.example.com/home/index#all=your&get=parameters&go=here

    Then in your index view you run a javascript event on page load that looks as the hash and then loads your partialview the same way.

    $(function() { 
        $.get(window.location.hash.replace("#!", ""), function(data){
            $("#contents").html(data);
        });
    });
    

    something like that, if you’re using jquery.

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

Sidebar

Related Questions

how should i load the table Setting into an asp.net mvc so that i
MVC use action attributes to map the same view for http get or post:
I am having problem getting my partial view to render in ASP.Net MVC 1.0
'm using ASP.NET MVC 3 with Razor views. I have a partial view which
asp.net mvc 3 with razor I have a script inside a partial view <script
My scenario is that In MVC my page(view) has both user control(partial view) and
I want to load another controller's view using MVC. I do it using something
I'm using JQuery to load the content of an MVC usercontroll: function menuShowModal(a) {
MVC isn't generating the client-side validation rules for my viewmodel. The HTML just contains
MVC newbie question re binders. Supposing I have two strongly typed partial actions that

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.