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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T04:50:24+00:00 2026-06-10T04:50:24+00:00

It may be repeat in question. but I need guidance for the approach to

  • 0

It may be repeat in question. but I need guidance for the approach to implement this scenario.
I have the controller in asp.net mvc3. I need to implement the view that contains multiple partial views. each partial view having the data transaction with database. means post data to database. I am having something like this :

<div >
    <div id="div1">
    <% Html.RenderPartial("PartialView1", ViewData("pv1"))
        %>
    </div>

    <div id="div2">
    <% Html.RenderPartial("PartialView2", ViewData("pv2")) %>
    </div>


    <div id="div3">
    <% Html.RenderPartial("PartialView3", ViewData("pv3")) %>
    </div>



    <div id="div4">
    <% Html.RenderPartial("PartialView4", ViewData("pv4")) %>
    </div>

Where as in Controller, i am confuse how to render respective partial view only. as other partial views should not affect except the data posting partial view. means i need update panel kind functionality. but am bit confuse how to achieve that.

Edited :in short how to build multiple update panels on single page in mvc 3 ?

Consider the image :
enter image description here

This image is not, what I explain in code. please understand the concept. here functionality wise in second partial view there is dropdown , which will filled up with get action always. while adding the user there should not recall getusers actions for that dropdown. Inshort all partial view should independent of each other actions. only respective partial view should get affect by certain action.

  • 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-10T04:50:25+00:00Added an answer on June 10, 2026 at 4:50 am

    You could use Ajax forms and instruct them to update the corresponding div:

    <div>
        <% using (Ajax.BeginForm("SomeAction", "SomeController", new AjaxOptions { UpdateTargetId = "div1" })) { %>
            <div id="div1">
                <% Html.RenderPartial("PartialView1", ViewData("pv1")); %>
            </div>
        <% } %>
    
        <% using (Ajax.BeginForm("SomeAction", "SomeController", new AjaxOptions { UpdateTargetId = "div2" })) { %>
            <div id="div2">
                <% Html.RenderPartial("PartialView2", ViewData("pv2")); %>
            </div>
        <% } %>
    
        <% using (Ajax.BeginForm("SomeAction", "SomeController", new AjaxOptions { UpdateTargetId = "div3" })) { %>
            <div id="div3">
                <% Html.RenderPartial("PartialView3", ViewData("pv3")); %>
            </div>
        <% } %>
    
        <% using (Ajax.BeginForm("SomeAction", "SomeController", new AjaxOptions { UpdateTargetId = "div4" })) { %>
            <div id="div4">
                <% Html.RenderPartial("PartialView4", ViewData("pv4")); %>
            </div>
        <% } %>
    </div>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know this question may be repeat , but i didn't get any of
This question may have been asked a million times in the past but I
This may be a repeat of the following unanswered question: Help with bitmap lock
Ok, this may be really noobish question, but i am wishing there is something
My question may be a repeat of other conversion question but I feel mine
This could be a repeat question, I apologize. I have a jsp page in
This may be a simple question but I can't seem to get my head
Ok, this may seem like a dupe question, but if you bear with me
(Predominantly a Git question, but may be relevant to other PyroCMS users) I have
The context of the question is ASP.NET MVC2 / EF4. I have a number

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.