Set Ranges From Code Behind

2 posts, 0 answers
  1. Shrikant
    Shrikant avatar
    38 posts
    Member since:
    Jul 2011

    Posted 02 Aug 2013 Link to this post

    Hi Team,

      How can I create Ranges for any value from code behind?

      I have Max Sales Total and Sales Person Sales Total. I have to create Ranges depending on the Total  Max Sales (Which always comes different as per date range). So for example, Total Max Sales is 56k, then I would like to show 60k as the last Range and Ranges will be
    From="20000" To="30000"
    From="30000" To="40000"
    From="40000" To="50000"
    From="50000" To="60000"

     If you have any other logic, Please suggest me.

    Thanks
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 06 Aug 2013 Link to this post

    Hello Shrikant,

    I would advise that you examine the following article on creating a gauge and/or its ranges programmatically: http://www.telerik.com/help/aspnet-ajax/gauge-application-scenarios-programmatic-creation.html. Once you have the min/max values and the pointer value you should be able to implement your own logic for creating the ranges.


    Regards,
    Marin Bratanov
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top