Mar 08, 2013, 2:07 PM
[CLOSED] [#166] Generate Radio Group Dynamically with the help of Model.
I have PaymentPeriodList in my Model. I am trying to create Radio Group but its giving me the attached error.
Html.X().Container()
.Border(false)
.Layout(LayoutType.HBox)
.LayoutConfig(new HBoxLayoutConfig { Align = HBoxAlign.Top })
.Items(
Html.X().RadioGroup().GroupName("PaymentPeriod")
.Items(
from rd in Model.PaymentPeriodList
select new Ext.Net.Radio { ID = rd.Desc,BoxLabel=rd.Desc,Checked=false,Name="paymentper" }
)
.FieldLabel("Payment Period")
)
Last edited by Daniil; Apr 02, 2013 at 12:28 PM.
Reason: [CLOSED]