)
in that i want to add check box,
please help me how i add it to item
0
Petur Subev
Telerik team
answered on 10 Mar 2014, 09:00 AM
Hello Umesh,
Basically the MVC helper does not allow you to inject HTML as a template or something. However you can turn the Encoded option to false and insert the html inside the Text of the item.
e.g.
panelbar.Add().Text("Fourth Item")
.Items(items =>
{
items.Add().Text("Sub Item 1");
items.Add().Text("<input type='checkbox' /> Sub Item 2").Encoded(false);
The same approach can be applied to your case when using the BindTo builder.
Kind Regards,
Petur Subev
Telerik
DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges.Watch on demand now.