How do you add a DropDownlist to Grid Toolbar that is already showing the built in Excel toolbar button.
All the examples I can find show either a DropDownList in a Toolbar Template OR the built in Excel toolbar button. I need both.
Thanks
@(Html.Kendo().Grid<
Reports.ReportRow
>()
.Name("grdReport")
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read
.Action("AJAX", "Report")
.Data("GetReportParms")
)
)
.ToolBar(tools => {
tools.Excel();
tools.Template(@<
text
>
<
div
class
=
"toolbar"
>
<
label
class
=
"category-label"
for
=
"category"
>Version:</
label
>
@(Html.Kendo().DropDownList()
.Name("ddlField")
.DataTextField("Text")
.DataValueField("Value")
.AutoBind(true)
.Events(e => e.Change("fieldChange"))
.DataSource(ds =>
{
ds.Read("FieldType", "Common");
})
)
</
div
>
</
text
>);
})
All the examples I can find show either a DropDownList in a Toolbar Template OR the built in Excel toolbar button. I need both.
Thanks