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

I have this markup in an MVC app. <div id=ingredientlistdiv> <% Recipe recipe =
I am using Ajaxy Call to load the partial view. It is working fine
aspnet mvc has the HandleError filter that will return a view if an error
ASP.NET MVC has been discussed on this forum a few times. I'm about to
Most of the MVC samples I have seen pass an instance of the view
I have a drop-down list hardcoded in an MVC View User Control page and
I have HTML table on the ASP.NET MVC View page. Now I have to
Using MVC with an observer pattern, if a user action requires polling a device
Which MVC-framework is the best option (performance/ease of development) for a web application, that
Using ASP.NET MVC there are situations (such as form submission) that may require a

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.