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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T02:45:46+00:00 2026-05-11T02:45:46+00:00

Besides using script or an iframe, is there any way to get independently operating

  • 0

Besides using script or an iframe, is there any way to get independently operating views/actions working on a single page? For example, suppose I have a Delete page for FabWidgets. It might look like:

Are you sure you want to delete this FabWidget '<%= Model.Name %>'?  Careful, this FabWidget controls these FrobNozzles:  <% Html.RenderAction('Grid', 'FrobNozzles') %>  <!-- Form for delete/cancel --> 

So far so good… unless the FrobNozzle’s Grid view is really big and needs to do paging. If the normal paging actions happen, we’ll just navigate off the delete page. How can we get the paging for the FrobNozzle’s Grid?

I see possibilities in sticking the grid inside an iframe, so it can just render like normal and handle new itself as needed, without messing up the current page. There’s also a way using script to do ajax requests and redisplay or whatnot.

Is there any simple ASP.NET MVC integration to make this just work without having to really deal with it much? For example, in ASP.NET WebForms, the ViewState postback would just let us have the FrobNozzle grid fire off events without messing up the rest of the page. Any ‘magic’ like that for ASP.NET MVC?

I did look at partial and so on, but didn’t see how it handles the postback issue.

  • 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. 2026-05-11T02:45:47+00:00Added an answer on May 11, 2026 at 2:45 am

    This is one of the things that differentiates MVC from WebForms. If you want to do something like this, you’ll need to write some code to handle the paging.

    You could pass a ‘PostbackUrl’ to the Grid action, and the Grid action could use that Url whenever it pages the data (appending its paging args to the querystring). Or you could pass ‘PostbackRouteData’, which would be a set of route values to use when generating paging links (again, the Grid would add its paging args to the route data).

    I would actually suggest using the Ajax helpers here (Ajax.ActionLink would work great for the paging), but if you really need to avoid IFrames and JavaScript, you’ll have to roll your own solution.

    MVC gives you a lot of control over the rendering, which can be an advantages. However, you lose the ‘Windows-like’ event-driven programming model of WebForms.

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

Sidebar

Ask A Question

Stats

  • Questions 87k
  • Answers 87k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Don't forget Perl's CPAN with a wealth of first-class code… May 11, 2026 at 5:37 pm
  • Editorial Team
    Editorial Team added an answer Check out :help gcr for full details. You'll probably want… May 11, 2026 at 5:37 pm
  • Editorial Team
    Editorial Team added an answer This is the correct syntax for retrieving JSON with Prototype… May 11, 2026 at 5:37 pm

Related Questions

We have a production web and database server with SQL Server 2000. (However, a
I am writing a client-side Swing application (graphical font designer) on Java 5 .
I'm working on a site where the images and other resources will be located
I'm looking to somehow get jQuery inserted into every page with the MINIMUM of

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.