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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:42:45+00:00 2026-06-11T09:42:45+00:00

I created a model that has 2 properties, a pagedlist of selectable templates and

  • 0

I created a model that has 2 properties, a pagedlist of selectable templates and a paged list of selectable versions.

The idea is that the view will allow you to select multiple versions and templates so that when you post the form it will create new instances for each possible combination of the templates and versions selected.

The problem I have atm is dealing with the pagedlist from nuget. I read that it wasn’t possible to post with a normal actionlink so I attempted a Ajax.Beginform with the pagedlist Next being a ajax.actionlink with a httpmethod of POST being set.

Unfortunately when it gets to my modelbinder specified for this model the controllercontext doesn’t have anything in keys of the form.

Checkboxes look like this inside the ajax beginform section:

<table>
                    <tr>
                        <th>
                        </th>
                        <th>
                            <a href="/AppliedTemplates/Create">Product</a>
                        </th>
                        <th>
                            <a href="/AppliedTemplates/Create">Version</a>
                        </th>
                    </tr>
                        <tr>
                            <td>
                                <input type="checkbox" name="[0].ProductVersion_ID" id="ProductVersion_ID_1" value="1"/>

                            </td>
                            <td>
                                Availability Standard Edition for Windows
                            </td>
                            <td>
                                5.2
                            </td>
                        </tr>  
                        <tr>
                            <td>
                                <input type="checkbox" name="[1].ProductVersion_ID" id="ProductVersion_ID_2" value="2"/>

                            </td>
                            <td>
                                Availability Standard Edition for Windows
                            </td>
                            <td>
                                5.3
                            </td>
                        </tr>  
                        <tr>
                            <td>
                                <input type="checkbox" name="[2].ProductVersion_ID" id="ProductVersion_ID_3" value="3"/>

                            </td>
                            <td>
                                Availability Standard Edition for Windows
                            </td>
                            <td>
                                6.0
                            </td>
                        </tr>  
</table>

Am I looking in the wrong place to find this deserialized data in the modelbinder or am I doing something wrong with the html?

Thanks so much!

  • 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-11T09:42:47+00:00Added an answer on June 11, 2026 at 9:42 am

    I was using the forms completely wrong. Form within a form is a no no. I made just one form and manipulated the returns with a IModelBinder implementation to include all the data I need.

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

Sidebar

Related Questions

I've created a property IsLoading for my main view model. The idea is that
if i have created a view model and have a partial form that is
I created a custom view that uses Json.Simple to serialize the model and write
How would I create a Mongoid model that has the ability to be saved
The scenario is as follows. My Order model has an after_create that contacts a
I have an Entity Data Model that I have created, and its pulling in
I'm trying to test that a UserProfile model is created as a new User
Basically, I have a model where I've created a superclass that many other classes
I have an mvc model class created and one of the properties is of
I have a model for a Playlist object that has a number of Tracks.

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.