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.

Avoid elements for clientside functions (map, area, events, ...)

Thread ID:

Created:

Updated:

Platform:

Replies:

104097 Jun 21,2012 05:16 AM Sep 6,2012 03:04 AM ASP.NET Web Forms (Classic) 3
loading
Tags: Chart
Matthias Max
Asked On June 21, 2012 05:16 AM

Hi,

how can I switch off the client side functions & elements completely? I don't want to use any of these so I dont need the map & area etc.

See my screenshot for explanation.

Thank you


chart_no_clientside_232dbc61.zip

Vijayabharathi K [Syncfusion]
Replied On June 25, 2012 02:39 AM

Hi Matthias,

 

Thanks for using Syncfusion products.

 

We suggest you to disable the below properties to switch off the client side  function and user interaction feature with chart web control.  

[C#]

    //Default value is false

            this.ChartWebControl1.CalcRegions = false;

            this.ChartWebControl1.ShowToolTips = false;

            this.ChartWebControl1.EnableXZooming = false;

            this.ChartWebControl1.EnableYZooming = false;

 

 Also if your intention is to remove the map tag of chart, we can achieve this by sample level through jquery. We can remove the map element of chart by tag name. Please refer the below code snippet to achieve this,

 

[ASPX]

<script type ="text/javascript">

        window.onload = function () {         

            $('map[name="MainContent_ChartWebControl1MAP_REGION"]').remove();

        }

</script>

 

Please let us know if any concerns.

 

Regards,

Vijayabharathi


Matthias Max
Replied On September 5, 2012 04:41 AM

Hi, thanks, will try this!

Vijayabharathi K [Syncfusion]
Replied On September 6, 2012 03:04 AM

Hi Matthias,

Thanks for the update. Please let us know if you have any other concerns.

Regards,

Vijayabharathi


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.

;