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

didn't get refresh

3 Answers 55 Views
Window
This is a migrated thread and some comments may be shown as answers.
L
Top achievements
Rank 1
L asked on 21 Jan 2010, 02:02 PM
hi

I have a situation here. I have link in a grid that when click it would open up a window using radwindow showing the detail of a product.

For example, when i click on productid 1, the radwindow would show me the detail of productid 1. But when click on productid 2, it didn't show me the details of productid2. instead, it still show the details of productid 1. I would then need to right click the radwindow and refresh, then it would show me the detail of productid 2. How should i solve this? thanks

Radwindow in the a masterpage and the grid has been ajaxified. Thanks

3 Answers, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 21 Jan 2010, 02:49 PM
Hello L,

I suggest to set ReloadOnShow="true"  and test again to see whether this fixes the problem. A similar sample online demo is available below:

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

Sincerely yours,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Simon
Top achievements
Rank 1
answered on 25 Feb 2010, 03:23 PM
Hello

I noticed this in the last release. I have the same problem where it keeps the page the same
and doesn't refresh it even though you have changed the information in your database.
There is no database caching or any other form of caching setup in our web app.
When we close and browser and re-open it and try the window again it then shows the
updated information.

Below is the HTML for our window setup.

Regards,
Simon

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" ReloadOnShow="true"
        ShowContentDuringLoad="false">
        <Windows>
            <telerik:RadWindow ID="AdminWindow" runat="server" Animation="Fade" Behavior="Close"
                OnClientClose="OnAdminWindowClientClose" OnClientShow="OnAdminWindowClientShow"
                Left="" Modal="True" Title="" Top="" BorderStyle="Solid" Height="400px" InitialBehavior="Reload"
                VisibleStatusbar="false" Width="500px" />
            <telerik:RadWindow ID="SubAdminWindow" runat="server" Animation="Fade" Behavior="Close"
                Left="" Modal="True" Title="" Top="" BorderStyle="Solid" Height="400px" InitialBehavior="Reload"
                VisibleStatusbar="false" Width="500px" />
            <telerik:RadWindow ID="PreviewTemplateWindow" runat="server" Animation="Fade" Behavior="Close, Maximize"
                Left="" Modal="True" Title="" Top="" BorderStyle="Solid" Height="400px" InitialBehavior="Reload"
                VisibleStatusbar="false" Width="500px" Behaviors="Close, Maximize" />
        </Windows>
    </telerik:RadWindowManager>
0
Georgi Tunev
Telerik team
answered on 26 Feb 2010, 09:34 AM
Hello Simon,

The code that you posted looks OK. Please open a support ticket and send us a sample project that reproduces this issue so we could investigate further.


All the best,
Georgi Tunev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Window
Asked by
L
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Simon
Top achievements
Rank 1
Georgi Tunev
Telerik team
Share this question
or