This is a migrated thread and some comments may be shown as answers.

Search ToolBar Only Showing Search Button

3 Answers 576 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 2
Iron
Iron
Iron
Mark asked on 18 Feb 2020, 03:50 PM
@(Html.Kendo().Grid(Model)
                            .Name("GridOrders")
                            .Columns(columns =>
                            {
                                columns.Bound(p => p.Barcode).ClientTemplate("<a href='https://fisherbioservicesdev.platformforscience.com/sprint2demo/corelims?cmd=get-barcode&headerBarcode=#=Barcode#&headerEntityType=0' target=_blank>#=Barcode#</a>"); ;
                                columns.Bound(p => p.FBS_KITREQUEST_REQUESTEREMAIL);
                                columns.Bound(p => p.FBS_KITASREQ_STATUS);
                                columns.Bound(p => p.SiteName);
                                columns.Bound(p => p.FBS_KITREQUEST_DATEREQUESTED).ClientTemplate("#= FBS_KITREQUEST_DATEREQUESTED? kendo.toString(kendo.parseDate(FBS_KITREQUEST_DATEREQUESTED, 'yyyy-MM-ddTHH:mm:ssZ'), 'MM/dd/yyyy'): '' #");
                                columns.Command(command => command.Custom("Details").Click("detailsRedirect")).Width(150);
                            })
                            .ToolBar(t => t.Search())
                            .Pageable()
                            .Navigatable()
                            .Sortable()
                            .Filterable()
                           
                            .DataSource(dataSource => dataSource
                                .Ajax()
                                .Batch(true)
                                .PageSize(20)
                                .ServerOperation(false)
                                .Events(events => events.Error("error_handler"))
 
                            )
 
)

 

This is what my code looks like. Attached is what is displayed.It is not showing a search box. What am I doing wrong?

3 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay
Telerik team
answered on 21 Feb 2020, 12:35 PM

Hello Mark,

Thank you for sharing the usual behavior you are experiencing with the Search Panel. This is the first time someone reporting it.

The Search Panel feature is available since 2019 R3 - 2019.3.917 release. Can you ensure that the corresponding scripts and styles are also included in the project? Their version must match the Kendo version. This is shown in the following Introduction article:

You can check the current kendo.ui version by typing in the console of the page kendo.version:

Let me know in case the issue remains.

Regards,
Nikolay
Progress Telerik

Get quickly onboarded and successful with Telerik UI for ASP.NET Core with the dedicated Virtual Classroom technical training, available to all active customers.
0
Mark
Top achievements
Rank 2
Iron
Iron
Iron
answered on 21 Feb 2020, 02:51 PM
You were correct. it was https://kendo.cdn.telerik.com/2017.2.621/. Update to the latest and it is working. Thanks!
0
Nikolay
Telerik team
answered on 26 Feb 2020, 11:28 AM

Hello Mark,

I am glad to hear you have managed to resolve the situation.

This case will now be closed. In case of further inquiries simply reply to it and it will reopen.

Regards,
Nikolay
Progress Telerik

Get quickly onboarded and successful with Telerik UI for ASP.NET Core with the dedicated Virtual Classroom technical training, available to all active customers.
Tags
Grid
Asked by
Mark
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Nikolay
Telerik team
Mark
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or