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 make a drilldown different of a pie

Thread ID:

Created:

Updated:

Platform:

Replies:

123338 Mar 8,2016 05:22 PM Mar 9,2016 06:44 AM ASP.NET Web Forms 1
loading
Tags: Chart
Roimer Machacón Otero
Asked On March 8, 2016 05:22 PM

Hi we're using charts in a web form, now have a pie chart with a drilldown how the example in the documentation, now exist a form of that the chart created for the drilldown is different of pie chart (Example Line chart). Now also have this chart in a modal bootstrap but when click in the button of the pie chart the modal disappear, How can resolve this?


Sanjith Kesavan [Syncfusion]
Replied On March 9, 2016 06:44 AM

Hi Roimer,
Thank you for contacting Syncfusion support. We analyzed your query and replicated the scenario in our sample. While clicking the back button, post back action occurred and whole page is now reloaded and so bootstrap modal disappeared from the screen. To avoid this, please follow the following code:

[HTML]

<button id="back" style="visibility:hidden; position:relative; margin-left:80%; margin-top:-105%" 
        onclick="displayResult(); return false">Back</button>


In the button click event we called “displayResult” method and set the return value as “false”. Now if we click the back button, then bootstrap modal will not be hidden. Please find the below screenshots.

After running the sample and click the pie slice.

 
.

 
After clicking the back button.
 
 
We have prepared a sample as per your requirement. Please find the sample from the following location:
Sample link: http://www.syncfusion.com/downloads/support/forum/123338/ze/bootstrap1830235905

Please let us know if this solution helps you.

Regards,
Sanjith.

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.

;