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

how to destroy Window Caching in radwindow

1 Answer 156 Views
Window
This is a migrated thread and some comments may be shown as answers.
Hiren
Top achievements
Rank 1
Hiren asked on 15 Jul 2011, 01:42 PM
i am opening RadWindow on buttonclick inside RadGrid for editing selected record. 1st time it opens the record for editing and after updating the record i am closing the radwindow, now if i select another record for edit it open radwindow but its displaying previously edited record in the control inside radwindow, if i click on Refresh button of radwindow its displaying the last selected record.

can i know the reason why its behaving like that.

i don't want to keep caching of edited record inside window, can anyone tell me how to destroy that caching,
when ever i select new record for editing it should show same record inside window..

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 15 Jul 2011, 02:01 PM
Hi Giri,

 By default IE caches IFRAME content and also this improves the performance in many scenarios. For scenarios as yours, we have implemented the ReloadOnShow property - please set it to true and test again.

The property is also set in our similar online demo below:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

I hope that my reply is detailed enough and helpful, let me know how it goes.

Kind regards,
Svetlina
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Window
Asked by
Hiren
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or