
window.radopen("/dnndev/DesktopModules/MACU.Calendar/EventDetails.aspx?TabId=59&ItemId=" + apt.ID + "&Instance=" + start, "AdvancedForm");
So that reloads it everytime anyway... but maybe I'm just missing the point somewhere. Since I have a lot of future uses I plan on doing with this, I'd really like to understand where/why I'd use that property.
Thanks in advance.
6 Answers, 1 is accepted
Generally speaking by design the RadWindow caches its content. In cases where you show the same dialog window but with different content (for example a dynamically changing page), you can use this property to ensure that when the RadWindow dialog is opened, you will get the most recent version of that page. If you control the content of the page via the query string as in your case, this property is not needed.
Greetings,
Georgi Tunev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center

Client function code:
// Need a random item in the querystring so the RadWindow does not pull from cache.
var WinId = "Win" + Math.random().toString();
var Url = "query_preview.aspx?id=" + elReportSavedQueryID.value + "&wid=" + WinId;
var oManager = GetRadWindowManager();
var oWnd = oManager.GetWindowByName("ExportPreviewWindow");
if (!oWnd){
alert("No window object found!");
return;
}
oWnd.SetUrl(Url);
oWnd.Show();
Window Manager in page:
<radw:radwindowmanager id="RadWindowManager1" runat="server" left="" navigateurl="" skinspath="~/RadControls/Window/Skins" title="" top="">
<Windows>
<radW:RadWindow ID="ExportPreviewWindow" DestroyOnClose="false" Modal="true" EnableViewState="False" VisibleStatusbar="true" Width="600px" Height="400px" NavigateUrl="" />
</Windows>
</radw:radwindowmanager>

I definitely agree that having the ReloadOnShow firing the OnLoad twice is not very desirable at all so I think your solution seems viable enough.
Thanks again for the advice on that.

I also experienced issue with loading window twice when ReloadOnShow is turned on.
But your workaround helped.


thanks for that...I have 2 radwindows opening in modal. Of course, after reading your solution I now know why my first window reloaded after the second window closed...it was "ReloadOnShow=true" plus the cache. I would be nice to be able to turn the cache off but at least through your investigation I have a fix.
You've saved me hours of debugging.
Regards
Roger