PDA

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



mcfromero
Aug 08, 2012, 8:05 PM

Vladimir
Aug 08, 2012, 8: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, 8:29 PM
Worked!

Thank you