Hi,
I have a partial example in Fluent for a Grid with a toolbar that has a (partially funcitoning) "Create" button.
I would like to duplicate this in taghelpers. Here is a Figma rendering using the Telerik Figma controls with some slight customizations:
Can you please provide the taghelpers for a toolbar such as this (with a "Create" button with custom CSS)? I don't need the CSS or anything, I just need the taghelpers to achieve this?
This is what I have so far:
<div>
<kendo-datasource name="dataSource2" type="DataSourceTagHelperType.Ajax" server-operation="false" page-size="10">
<transport>
<read url="@Url.Action("List_Employees", "Company1", new {clinicID = @Model?.ClinicID })" />
<create url="@Url.Action("Add_Employee", "Company1")" />
</transport>
</kendo-datasource>
<toolbar-items>
<create/>
</toolbar-items>
<kendo-grid name="ClinicUsersGrid" datasource-id="dataSource2">
<columns>
<column field="EmployeeName" title="Name"/>
<column field="EmployeePhone" title="Phone Number"/>
<column field="Role" title="Role"/>
<column field="EmployeeEmail" title="Email"/>
</columns>
<editable mode="@GridEditMode.PopUp"/>
</kendo-grid>
</div>
My toolbar isn't showing up. I tried inserting toolbar tags but it just complained? Any insight would be really helpful.
It's interesting to note that in the "Tags" for this Question, I cannot add TagHelpers as a subject.
Thanks!