I need to make a cascading combobox with server filtering but I'm having trouble setting the initial value.

The dropdownlist on which the combobox depends looks like this:

@(Html.Kendo().DropDownListFor(model =&gt; model.SelectedCompany)
    .Name("UserDetailSelectedCompany")
    .HtmlAttributes(new { style = "width:115px;" })
    .BindTo(Model.CompanyList)
    .Value(Model.SelectedCompany))


Where:


model.SelectedCompany is a string
Name attribute is set because I need that in the combobox (I've read on the Kendo UI forums I'm not supposed to specify it, but I don't know how to do the cascading combobox without it)
Model.CompanyList is a List&lt;string&gt;


An here's the combobox:

@(Html.Kendo().ComboBoxFor(model =&gt; model.SelectedDealer)
    .Name("UserDetailSelectedDealer")
    .DataTextField("Name")
    .DataValueField("ID")
    .HtmlAttributes(new { style = "width:325px" })
    .Filter(FilterType.Contains)
    .AutoBind(false)
    .Enable(false)
    .MinLength(3)
    .DataSource(source =&gt; source.Read(read =&gt; read.Action("GetDealers", "Administration").Data("Administration.GetUserDealerParameters"))
                                .ServerFiltering(true))
    .CascadeFrom("UserDetailSelectedCompany")
    .SelectedIndex(Model.SelectedDealer.ID))


Where:


model.SelectedDealer is a Dealer
Dealer class contains a Name(string) and an ID (int)
MVC action GetDealers return a JSON converted List&lt;Dealer&gt;


Does anyone have an example that demonstrate how I can get this to work? The Kendo UI doc has example for a cascading combobox, server filtering and setting initial value, but not for the 3 at same time.


Question: How to use the displaymath environment within a table?
Answer: The difference between your example and the one you refer to from how-to-add-equation-with-cases-inside-the-table is that you are trying to put a displayed equation into a "centred" table cell whereas the example puts one inside a "paragraph" in a tabular environment.

You either need to use a p-cell in your tabular environment:

\begin{tabular}{p{5cm}}
\hline
\[ e \]    \\
\hline
\end{tabular}


OR you can use a normal (centred) cell with in-line mathematics that you explicitly typeset in \displaystyle:

\begin{tabular}{c}
\hline
\(\displaystyle f(x)=\begin{cases}1,&amp;\text{if }x=1,\\0,&amp;\text{otherwise}\end{cases}\)
\hline
\end{tabular}


Of course, you could also leave the \displaystyle out here.

(Btw, here I am assuming that you have loaded the amsmath package for the \text command.)