Note that there are some explanatory texts on larger screens.

plurals
  1. POInline markup blocks (@<p>Content</p>) cannot be nested. Only one level of inline markup is allowed
    primarykey
    data
    text
    <p>Hello I am getting the error:</p> <pre><code>Inline markup blocks (@&lt;p&gt;Content&lt;/p&gt;) cannot be nested. Only one level of inline markup is allowed. </code></pre> <p>Using a Kendo UI tabstrip and MultiSelectBoxes with a Razor View and MVC4 </p> <p>I have tried implementing the helper class, but I am still getting the error</p> <p>Here is my code, am I missing a step? I moved the 3 multiselects out and called them with the helper!</p> <pre><code>@(Html.Kendo().TabStrip() .Name("tabstrip") .Items(tabstrip =&gt; { tabstrip.Add().Text("One") .Content(@&lt;div&gt; @RenderSelect() &lt;/div&gt;;); tabstrip.Add().Text("Two") .Content("Two"); tabstrip.Add().Text("Three") .Content("Three"); }) .SelectedIndex(0) ) @helper RenderSelect() { &lt;h2&gt;MyList&lt;/h2&gt; &lt;label&gt;One&lt;/label&gt; @(Html.Kendo() .MultiSelect() .Name("One") .AutoBind(true) .Placeholder("Select Clients...") .DataTextField("hname") .DataSource(source =&gt; { source.Read(read =&gt; { read.Action("Client", "Dist"); }) .ServerFiltering(true); }) ) &lt;label&gt;Two&lt;/label&gt; @(Html.Kendo() .MultiSelect() .Name("Two") .AutoBind(true) .DataTextField("gname") .Placeholder("Select Recipients...") .DataSource(source =&gt; { source.Read(read =&gt; { read.Action("Client", "Dist"); }) .ServerFiltering(true); }) ) &lt;label&gt;Three&lt;/label&gt; @(Html.Kendo() .MultiSelect() .Name("Three") .AutoBind(true) .DataTextField("id") .Placeholder("Select CLL...") .DataSource(source =&gt; { source.Read(read =&gt; { read.Action("Codes", "Dist"); }) .ServerFiltering(true); }) ) } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload