public ActionResult CheckBoxList([Bind] CheckListDemoOptions options) { ViewData["Options"] = options; return(DemoView("CheckBoxList")); }
public ActionResult RadioButtonList() { ViewData["Options"] = new CheckListDemoOptions(); return(DemoView("RadioButtonList")); }
public ActionResult CheckBoxList() { ViewData["Options"] = new CheckListDemoOptions(); return(DemoView("CheckBoxList")); }
public ActionResult RadioButtonList([Bind] CheckListDemoOptions options) { ViewData["Options"] = options; return(DemoView("RadioButtonList")); }