PDA

View Full Version : [CLOSED] Razor syntax inside Ext Controls



mcfromero
Aug 08, 2012, 7:05 PM

Vladimir
Aug 08, 2012, 7:14 PM
Just use C# code


.Items(item=> {
foreach (string s in "1,2,3".Split(','))
{
item.add(new ListItem(s, s));
}
})

mcfromero
Aug 08, 2012, 7:29 PM
Worked!

Thank you