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

RadWindow caching previous state?

1 Answer 89 Views
Window
This is a migrated thread and some comments may be shown as answers.
Derek
Top achievements
Rank 1
Derek asked on 24 Apr 2012, 04:05 PM
My scenario:

I have a RadGrid where each item has a link that will open a RadWindow. Inside each radwindow, I have a textbox that will add comments, and once a comment is added, a grid will show in it's place with comment details inside. We only allow one comment, so when a user comes back to that item and clicks the link again, the radwindow will open and only show the comments grid. My issue is everything works fine until I close the radwindow, and open a new window where a comment hasn't been added. I see the comment box (as I should), but when I close this window and go back to the window where I just added the comment, it shows the comment box instead of the comments grid (even though it hits the logic in the codebehind), until I right-click and choose refresh. I'm using IE8. I've tried DestroyOnClose=true and that worked, except after it builds the initial RadWindow, if I close it and I click a new link to open a new window none of the properties from the rad window manager are saved and a default radwindow is opened in it's place. 

Any help on this would be greatly appreciated. If I haven't been descriptive enough I can provide more details

1 Answer, 1 is accepted

Sort by
0
Derek
Top achievements
Rank 1
answered on 24 Apr 2012, 04:09 PM
Didn't see this before, so maybe it will help someone in the future. Set ReloadOnShow="true". So simple.
Tags
Window
Asked by
Derek
Top achievements
Rank 1
Answers by
Derek
Top achievements
Rank 1
Share this question
or