Click here to Skip to main content
12,359,458 members (70,385 online)
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads

Stats

23.4K views
691 downloads
26 bookmarked
Posted

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

, 27 Sep 2012 CPOL
Easy handling of buttons in ASP.NET MVC
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 RealDolmen
Belgium Belgium
Rudi is a Software Architect at RealDolmen.

You may also be interested in...

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