This question is locked. New answers and comments are not allowed.
Hi,
I am trying to use custom toolbar template grid inside tab strip but didn't get through as it doesn't allow multiple inline markups and throws " Only one level of inline markup is allowed." error.
Is there any other way out for this?
Thanks !!
I am trying to use custom toolbar template grid inside tab strip but didn't get through as it doesn't allow multiple inline markups and throws " Only one level of inline markup is allowed." error.
@(Html.Telerik().TabStrip().Name("Topics").SelectedIndex(0).HtmlAttributes(new { style = string.Format("width:155%") }).Items(TabStrip => { TabStrip.Add() .Text("Valid") .Content(@<text> @(Html.Telerik().Grid(Model) .Name("gd") .ToolBar(toolbar => toolbar.Template(@<text> @(Html.Telerik().DropDownList() .Name("ddlCountry") .SelectedIndex(0) .BindTo(new SelectList(cnt, "id", "Name")) .ClientEvents(events => events .OnChange("cntChange") ) .HtmlAttributes(new { style = string.Format("width:{0}px", 150) }) ) </text>)) .Columns(columns => { columns.Bound(b => b.icon) .ClientTemplate(" <img alt='<#= icon#>' style='width:30px;height:auto' src='" + Url.Content("~/images/") + "<#= icon#>' />") .Title("Img1").Width(20); columns.Bound(b => b.Name).Width(20); columns.Bound(b => b.Seq).Width(20); }) .DataBinding(dataBinding => dataBinding.Ajax().Select("_Index", "Home")) .HtmlAttributes(new { style = string.Format("width:100%") }) ) </text>); }).HtmlAttributes(new { style = string.Format("width:100%") }))Is there any other way out for this?
Thanks !!