Click here to Skip to main content
15,885,767 members
Articles / Web Development / HTML

CheckBoxList(For) - A missing MVC extension (no longer supported)

Rate me:
Please Sign up or sign in to vote.
4.82/5 (44 votes)
4 Feb 2014CPOL6 min read 765.1K   15K   128  
Extends MVC HtmlHelper class so you can create POSTable checkbox list.
using System;

namespace MvcCheckBoxList.Library {
  /// <summary>
  /// Sets local settings of an HTML wrapper that is used on a checkbox list
  /// </summary>
  internal class htmlWrapperInfo {
    public string wrap_open = String.Empty;
    public string wrap_rowbreak = String.Empty;
    public string wrap_close = String.Empty;
    public htmlElementTag wrap_element = htmlElementTag.None;
    public string append_to_element = String.Empty;
    public int separator_max_counter;
  }
}

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)


Written By
Web Developer
United States United States
Coding is awesome!

Comments and Discussions