This is a migrated thread and some comments may be shown as answers.

Response cached for TreeView events

1 Answer 54 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Marbry
Top achievements
Rank 1
Marbry asked on 10 Dec 2012, 10:59 PM
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.

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 12 Dec 2012, 01:35 PM
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.
Tags
TreeView
Asked by
Marbry
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or