Skip to content

Instantly share code, notes, and snippets.

@apuchkov
apuchkov / ExtendedSelectExtensions.cs
Created December 4, 2015 20:36
ASP.NET MVC HTML DropList helper with a way to add custom attributes to options http://stackoverflow.com/a/34096927/1689049
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Web;
using System.Web.Mvc;