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

radwindow jumps at each postback

7 Answers 175 Views
Window
This is a migrated thread and some comments may be shown as answers.
yao wang
Top achievements
Rank 1
yao wang asked on 18 Jun 2010, 02:49 AM
Hi, Telerik,

I have a radwindow U opened in home.aspx which has a restriction zone. everytime when I click any button in radwindow U, the page postback and the position of radwindow U has been changed, it looks like the radwindow U is jumping inside the home.aspx at each postback..

How to fix the problem? thanks a lot.

Yao

7 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 21 Jun 2010, 12:43 PM
Hi Yao,

I am afraid that the provided information is not enough for us to determine what exactly the problem is and the reason for it. Please open a support ticket and send us a small sample project where the reported behavior can be reproduced - we will check it and do our best to help.


Kind regards,
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
0
Levi
Top achievements
Rank 1
answered on 28 Jun 2010, 09:04 PM
I have this same problem. I have the RadWindow inside an update panel. Everytime a post back occurs, the RadWindow position resets to the original position. It does not appear ot be saving it's current position in the viewstate. So basically I move the RadWindow, a post back happens, then the Window moves back to where it started before I moved it.
0
Georgi Tunev
Telerik team
answered on 29 Jun 2010, 08:52 AM
Hi Levi,

Thank you for the information - now I understand better what the problem is. Indeed, currently RadWindow does not preserve its client state - we plan to provide such feature in the future but for now I cannot give you an exact time frame. If you need to preserve the state of the control, I suggest to implement a custom logic that uses RadWindow's client-side API and store the values in a convenient location (session, cookie, etc.).


Best wishes,
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
0
Christian Pardun
Top achievements
Rank 1
answered on 24 Sep 2010, 08:15 AM
Dear Georgi,

what about the plans to implemented the functionality that the RadWindow preserve its client state?

Thanks a lot for a reply.

Kind regards
Christian
0
Georgi Tunev
Telerik team
answered on 27 Sep 2010, 09:04 AM
Hi Uwe,

This feature is still in our ToDo list but we are currently working on fixes and features with higher priority. Once we set a time frame for this task, I will write here again.

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
0
Rohan
Top achievements
Rank 1
answered on 20 Oct 2012, 08:03 AM
Hi all,

I am also facing the same issues with radwindow -(radwindow jumps at each postback), i am using my TELELRIK Version - 2012.2.915.35 please provide  any other way or any sample example.
thanks.
0
Marin Bratanov
Telerik team
answered on 22 Oct 2012, 01:56 PM
Hi Rohan,

The RadWindow renders entirely via JavaScript, on the client, and this is one of its main features. It allows instances to be created during runtime without any additional requests to the server which can effectively boost the performance of the application. This also means that it does not have the server render markup and send it over the wire. The price for this benefit is the fact that a postback that disposes the RadWindow will effectively destroy it, so it cannot preserve its properties (size, position).

The best way to use the RadWindow is through its client-side API and to keep it out of any postbacks (if possible), including partial ones.

All that being said, you can give the PreserveClientState property of the RadWindowManager a shot. Note that it keeps the size and position of RadWnidows from its collection in a cookie, so it works not only for postbacks but for different sessions as well. Also, a cookie may be rejected by the client's browser.

All the best,
Marin Bratanov
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
Window
Asked by
yao wang
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Levi
Top achievements
Rank 1
Christian Pardun
Top achievements
Rank 1
Rohan
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or