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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:04:43+00:00 2026-06-13T19:04:43+00:00

I am having a twitter bootstraper tab, with 3 simples tabs (Caracteristiques, Certificat and

  • 0

I am having a twitter bootstraper tab, with 3 simples tabs (Caracteristiques, Certificat and Contrats)

the tabs are ajax load with asp.net mvc partialviews, they are tied with modelViews:

the partials views strongly tied to the type ViewModel:

    // Load Certificat
    public ActionResult Certificat()
    {
        var modelStaffs = _twitterTabsModel.GetStaffs();

        return PartialView("_Certificat", modelStaffs);
    }

    // load Contrats
    public ActionResult Contrats()
    {
        var modelJoueur = _twitterTabsModel.GetFirstJoueur();

        return PartialView("_Contrats", modelJoueur );
    }

the models:

public class TwitterTabModel
{
    public ModelJoueur JoueurVM { get; set; }
    public IEnumerable<ModelStaff> StaffVM { get; set; }
}

public class ModelStaff
{
    public string NomStaff { get; set; }
    public string FonctionStaff { get; set; }
}

public class ModelJoueur
{
    public string NomJoueur { get; set; }
    public string PrenomJoueur { get; set; }
}

the Caracteristiques Tab views:

@model Controls.Models.ViewModel.TwitterTabModel

<h2>Caracteristiques</h2>

@using (Html.BeginForm())
{
.... the tabs code ...
    <p>
        <input type="submit" value="Save" />
    </p>

}

The tabs load fines, what I want to do is to include a submit button on the first razor view tab, it submit all the other models if loaded, however, when I get the post call, all the others models, JoueurVM and StaffVM are empty even though they are loaded. Why is it according to you ?

edit: This is the controller post code, nothing special, just trying to get the twitterTabModel:

    [HttpPost]
    public ActionResult Tabs(TwitterTabModel model)
    {
        return View();
    }

Thanks

  • 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-13T19:04:45+00:00Added an answer on June 13, 2026 at 7:04 pm

    I figure a workaround, I pass the input values back as formcollection, instead of the overall model, well it it’ s not clean, but well, it works as i can get all the values posted

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

Sidebar

Related Questions

I'm having an issue with Twitter Bootstrap CSS framework : the tabs show up,
Having issues with Twitter Bootstrap responsive navigation. The best way to explain this is
I am having a problem getting Twitter Bootstrap Carousel to begin looping automatically at
I'm new using the excellent stuff of css twitter bootstrap and having a problem,
I'm having a design/css issue. I'm using Twitter Bootstrap and have a .row-fluid, with
I'm having an issue while developing a basic Rails application. I've implemented Twitter Bootstrap
Additional questions regarding SilentGhost's initial answer to a problem I'm having parsing Twitter RSS
I am having trouble access tweets via twitters json search https://search.twitter.com/search.json?callback=?&rpp=5&q=from:secretdreameruk The strange this
Ive been working with the twitter oauth and api and im having a weird
I'm currently having trouble getting example code for using tweepy to access Twitter's Streaming

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.