Drill Down Chart Demo Code Not Working After first level.

Thread is closed for posting
2 posts, 0 answers
  1. Serious
    Serious avatar
    3 posts
    Member since:
    Sep 2014

    Posted 06 Sep 2014 Link to this post

    I am trying to implement the Demo Code given at :  http://demos.telerik.com/aspnet-ajax/htmlchart/examples/drilldownchart/defaultcs.aspx
    I am using same Column names in my database.
    It only works for "years" but when i clicked on "2004" or any other year it gives following Error. 

    An exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll but was not handled in user code

    Additional information: Index was out of range. Must be non-negative and less than the size of the collection.

    This error occurs at  the code line :- 

     SqlDataSource2.SelectParameters[0].DefaultValue = Year.ToString();

    I am really confused about this. Please help me out in this. 

    Looking forward for a quick response. 
    Thank you.
  2. Danail Vasilev
    Danail Vasilev avatar
    1502 posts

    Posted 10 Sep 2014 Link to this post


    I have already replied to the same forum thread that was opened by you on the same matter here, so that you can find my answer there.

    Could I also ask you to not open multiple forum threads for one and the same issue, so that we can keep the forum clean and in order?

    Thank you for your cooperation.

    Danail Vasilev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top