Response cached for TreeView events

2 posts, 0 answers
  1. Marbry
    Marbry avatar
    123 posts
    Member since:
    Aug 2012

    Posted 10 Dec 2012 Link to this post

    So for instance when someone selects an action that is handled by the server side node edit handler it works fine right then.  But if you susbsequently click refresh in the browser (IE8, IE9) it fires the exact same event again.  Not a very desirable behavior.

    I've tried resetting the __EVENTTARGET and __EVENTARGUMENT values, but that doesn't work.  I've seen references to using $.ajaxSetup({cache:false});  to prevent that, but I'm not sure what Telerik's equivalent is.
  2. Bozhidar
    Admin
    Bozhidar avatar
    1101 posts

    Posted 12 Dec 2012 Link to this post

    Hello Marbry,

    This is the default behavior for any control that causes a postback, and you can reproduce it with an ordinary ASP.Net TreeView control. The issue, as well as the workaround to it, are discussed in the following forum topic:
    http://forums.asp.net/t/1664698.aspx/1
     
    Kind regards,
    Bozhidar
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top