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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Setting Pointer Value from code behind

Thread ID:





121417 Dec 11,2015 01:09 PM UTC Dec 14,2015 04:21 PM UTC ASP.NET Web Forms 3
Tags: CircularGauge
Cory Wynn
Asked On December 11, 2015 01:09 PM UTC

I'm trying to set the value of the pointer with a string from the code behind, I have the following:

 <ej:Pointers NeedleType="Rectangle" Value="1300" Length="45" Width="1">
   <Border Color="#3AB54B"></Border>

In a normal situation I would do the following:

<ej:Pointers runat="server" ID="Point" NeedleType="Rectangle" Value="1300" Length="45" Width="1">

Then in the code behind:
Point.Value = 300;

However, when I do this I get the error:

Error Type 'Syncfusion.JavaScript.DataVisualization.Models.Pointers' does not have a public property named 'ID'.

Any help would be much appreciated! 

Cory Wynn
Replied On December 11, 2015 01:49 PM UTC

I've managed to sort the problem above by using the ID from: 

<ej:circularGauge >

How would I set the End value from:

<ej:CircularRanges runat="server" StartValue="0" EndValue="249" Size="10" BackgroundColor="#3AB54B">

Using a string from the behind code?

Deepaa Pragaasam [Syncfusion]
Replied On December 12, 2015 05:53 AM UTC

Hi Cory,
Thanks for contacting Syncfusion Support
We have analyzed your queries
Query 1: How to set the Pointers value in code behind
To set the Pointer Value, we can use the instance of the circular gauge as shown below
Code example:

Query 2: How Would I set the end value from code behind
The end value in the circular range is of type double and it is set in the below way
Code Example:


We have attached the sample below for your reference
Sample Link: http://www.syncfusion.com/downloads/support/forum/121417/ze/Webapplication-1798515544
Please let us know if you have any concerns

Cory Wynn
Replied On December 14, 2015 04:21 PM UTC

Hi Deepaa,

Thanks for your help, I've got it working.

Kind regards,


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon