radiobuttonlist exception
after i upgraded beta, i'm carrying problem html.radiobuttonlist. someone arrangement me i'm doing wrong?
the code:
<% html.radiobuttonlist(
"voter" + voter.id,
new selectlist(new[]{"yes","no","abstain"}, "yes")).each(x => response.write(x)); %>
and difference i get:
[argumentnullexception: value can't null.
parameter name: value]
system.web.mvc.html.inputextensions.radiobutton(htmlhelper htmlhelper, twine name, vigilant value, boolean ischecked, idictionary`2 htmlattributes) +214
microsoft.web.mvc.<>c__displayclass1.<radiobuttonlistinternal>b__0(listitem item) c:\dd\cicero\src\mvc\main\src\mvcfutures\mvc\radioextensions.cs:86
system.linq.whereselectlistiterator`2.movenext() +107
system.linq.buffer`1..ctor(ienumerable`1 source) +259
system.linq.enumerable.toarray(ienumerable`1 source) +81
microsoft.web.mvc.radiolistextensions.radiobuttonlistinternal(htmlhelper htmlhelper, twine name, selectlist selectlist, boolean usedviewdata, idictionary`2 htmlattributes) c:\dd\cicero\src\mvc\main\src\mvcfutures\mvc\radioextensions.cs:88
microsoft.web.mvc.radiolistextensions.radiobuttonlist(htmlhelper htmlhelper, twine name, selectlist selectlist) c:\dd\cicero\src\mvc\main\src\mvcfutures\mvc\radioextensions.cs:29
many interjection advance!
rob
Comments
Post a Comment