如何将枚举选项绑定到DevExpress.RadioButtonList

时间:2011-02-16 17:50:24

标签: asp.net-mvc-2 devexpress razor

示例代码:

   @Html.DevExpress().RadioButtonList(settings => {
            settings.Properties.DataSource = Enum.GetNames(typeof(SEICCV.Web.Models.eTipoControle));
            settings.Name = "radio";
   }).GetHtml()

1 个答案:

答案 0 :(得分:0)