AjaxManager issue

4 posts, 0 answers
  1. Marc
    Marc avatar
    17 posts
    Member since:
    Jan 2013

    Posted 06 Apr 2014 Link to this post

    Hi,

    I am facing a strange situation with AjaxManager and, although the code works as expected, I receive everytime the following error:

    JavaScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Value cannot be null. Parameter name: key.

    A simple code like the following raises the error, and usually all calls made to Ajax Manager from code behind are problematic.

       Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
            If e.Argument = "Rebind" Then
                RadGridItems.MasterTableView.SortExpressions.Clear()
                RadGridItems.MasterTableView.GroupByExpressions.Clear()
                RadGridItems.Rebind()
            End If

    I am using version 2014.1.225.45 and Visual Studio 2013 (updated). I found the following thread thas looks similar but I cannot find a proper solution.
    http://www.telerik.com/forums/rad-ajaxmanager-issue-with-telerik-reportviewer-webforms-reportviewer-control

    I also have noticed that ajaxifying some other controls (RadCombobox or buttons) are also causing the error:

    <telerik:AjaxSetting AjaxControlID="BtnAddtoBasket">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="BtnAddtoBasket" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    </UpdatedControls>
                </telerik:AjaxSetting>

    Thanks.
  2. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 10 Apr 2014 Link to this post

    Hello Marc,

    I have created a sample RadGrid web site to test the described behavior and on my side the ajaxifying the grid works as expected. Can you please run the attached sample and instruct me the exact steps I need to follow in order to reproduce the issue?

    Regards,
    Eyup
    Telerik
     

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David V
    David V avatar
    5 posts
    Member since:
    Oct 2012

    Posted 23 Feb in reply to Eyup Link to this post

    I'm tired of finding these typical responses!

    We don't care that you can create a simplistic page that does not exhibit the problem.

    EVERY SINGLE PERSON SEARCHING FOR SOLUTIONS CAN CREATE A SIMPLE PAGE THAT DOES NOT EXHIBIT THE PROBLEM!!!
    Every one of these pathetic responses wastes the time of people looking for real solutions.

    We realize that our complicated real life pages may have problems we introduced but also expect that as the developers of the tools we are using you might have some useful response other than "My pathetic little example does not have an issue!"

  5. Eyup
    Admin
    Eyup avatar
    3015 posts

    Posted 26 Feb Link to this post

    Hi David,

    I understand your concerns, but as a developer yourself you are aware that there might be countless different scenarios of our customers and it is really difficult to pinpoint the exact cause of the problematic behavior magically from the first post. Therefore, we require some runnable isolated sample from our customer's side or kindly ask them to modify the basic examples we send them in order to resemble their original projects. I can assure you that with the conversation further going on, we usually manage to root out many of the problems, if not all.

    As for the original error in this forum thread, there was an old version issue explained here:
    http://www.telerik.com/forums/value-cannot-be-null-parameter-name-key-exception-is-thrown-after-q2-2015-release

    Regards,
    Eyup
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top