Handle event in radial gauge

2 posts, 1 answers
  1. Tomer
    Tomer avatar
    14 posts
    Member since:
    Feb 2011

    Posted 26 Dec 2012 Link to this post


    I want to add click event on the gauge that will transfer the value to an function and than I will use this data.

    Is there a option to handle events on the radial/linear gauge?

  2. Answer
    Marin Bratanov
    Marin Bratanov avatar
    4948 posts

    Posted 26 Dec 2012 Link to this post

    Hello Tomer,

    You can add an onclick handler for the div wrapper of the chart so you can get a reference to the control through the control field the DOM object exposes. Then you can use its client-side API to get the value. For example:
    <telerik:RadRadialGauge runat="server" ID="rrg1" onclick="getMyValue(this);">
        <Pointer Value="22">
    <script type="text/javascript">
        function getMyValue(element)

    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top