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.
Unfortunately, activation email could not send to your email. Please try again.

How to hide some toolbaritems?

Thread ID:

Created:

Updated:

Platform:

Replies:

116199 Apr 23,2014 05:25 AM Nov 1,2016 11:33 PM ASP.NET MVC 3
loading
Tags: PivotClient
echo
Asked On April 23, 2014 05:25 AM

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!



Prabu S [Syncfusion]
Replied On April 24, 2014 08:09 AM

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

Felipe Alves
Replied On October 28, 2016 12:19 PM

Works,

Thanks!

Sastha Prathap Selvamoorthy [Syncfusion]
Replied On November 1, 2016 11:33 PM

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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;