We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to hide some toolbaritems?

Hello,

With VS2012+MVC4+.NetFramework4.5, I have two questions.

First,I want to hide some toolbaritems such as "Connect Option","Add Report","Remove Report",and some toobaritems need to be shown,such as "Load Report","Save Report"."Export to Word" ,"Export To Excel". How to do?

Second ,when I click "Save Report",I also want to save the report to database,how can I capture the events and code the content myself?

Thank you!



3 Replies

PS Prabu S Syncfusion Team April 24, 2014 12:09 PM UTC

Hi Echo,

 

Hiding the icon in the toolbar could be achieved at sample level itself. Using the class name of the icon we can hide it and the following code snippet illustrates the same.

 

Code snippet [.cshtml]:

<script>

    $(".Connect").hide();

    $(".AddReport").hide();

    $(".RemoveReport").hide();

    $(".RenameReport").hide();

    $(".ShowMDXQuery").hide();

</script>

 

Following attached sample illustrate the saving report as stream in data base.

 


Attachment: SaveReportInDataTable_64f5dc44.zip


FA Felipe Alves October 28, 2016 04:19 PM UTC

Works,

Thanks!


SP Sastha Prathap Selvamoorthy Syncfusion Team November 2, 2016 03:33 AM UTC

Hi Felipe, 
  
Thanks for the response. Please let us know if any further assistance. 
  
Regards, 
Sastha Prathap S. 


Loader.
Live Chat Icon For mobile
Up arrow icon