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

Kendo Grid Exort

2 Answers 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Daochuen
Top achievements
Rank 1
Iron
Veteran
Iron
Daochuen asked on 20 Aug 2020, 03:44 AM

Hello,
We used Kendo controls in our MVC project. For security reasons, we need conditional disable the Grid export functionality in server side code. Does anyone have an idea for that?  Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Accepted
Eyup
Telerik team
answered on 21 Aug 2020, 01:54 AM

Hi Daochuen,

 

Generally, the grid allows adding conditions in the property definitions, similar to this:
https://www.telerik.com/forums/how-to-hide-toolbar-button-based-on-a-condition-

You can use the same for the Exportable property.

I hope this will prove helpful. Feel free to give it a try and let me know if it works for you. If there are issues, I will proceed with creating a sample and send it to you.

 

Regards,
Eyup
Progress Telerik

Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).

0
Daochuen
Top achievements
Rank 1
Iron
Veteran
Iron
answered on 02 Sep 2020, 06:18 PM
Thanks! that worked.
Tags
Grid
Asked by
Daochuen
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Eyup
Telerik team
Daochuen
Top achievements
Rank 1
Iron
Veteran
Iron
Share this question
or