Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads
 
Add your own
alternative version

Multiple parameterized (localizable) form buttons in ASP.NET MVC

, 27 Sep 2012 CPOL
Easy handling of buttons in ASP.NET MVC
MvcMultiButtonSample.zip
MvcMultiButtonSampleApp
App_Data
Content
Controllers
Global.asax
Models
Company-Department-Employee.cd
MvcMultiButtonSampleApp.csproj.user
Properties
Scripts
Views
EmployeeBonus
Shared
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace MvcMultiButtonSampleApp.Models
{
    public class Company
    {
        public Company()
        {
            Departments = new List<Department>();
        }

        public string Name { get; set; }

        public decimal ShareHoldersBenefit { get; set; }

        public decimal Budget { get; set; }

        public List<Department> Departments { get; set; }
    }

    public class Department
    {
        public Department()
        {
            Employees = new List<Employee>();
        }

        public string Name { get; set; }

        public decimal Budget { get; set; }

        public List<Employee> Employees { get; set; }
    }

    public class Employee
    {
        public string Name { get; set; }

        public decimal Bonus { get; set; }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Rudi Breedenraedt
Architect Wolters Kluwer Belgium
Belgium Belgium
Rudi is a Software Architect at Wolters Kluwer Belgium.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141216.1 | Last Updated 27 Sep 2012
Article Copyright 2012 by Rudi Breedenraedt
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid