radwindow jumps at each postback

8 posts, 0 answers
  1. yao wang
    yao wang avatar
    25 posts
    Member since:
    May 2010

    Posted 17 Jun 2010 Link to this post

    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
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 21 Jun 2010 Link to this post

    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
  3. Levi
    Levi avatar
    53 posts
    Member since:
    Jun 2010

    Posted 28 Jun 2010 Link to this post

    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.
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 29 Jun 2010 Link to this post

    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
  5. Christian Pardun
    Christian Pardun avatar
    6 posts
    Member since:
    Apr 2009

    Posted 24 Sep 2010 Link to this post

    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
  6. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 27 Sep 2010 Link to this post

    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
  7. Rohan
    Rohan avatar
    94 posts
    Member since:
    Jul 2012

    Posted 20 Oct 2012 Link to this post

    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.
  8. Marin Bratanov
    Admin
    Marin Bratanov avatar
    5707 posts

    Posted 22 Oct 2012 Link to this post

    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.
Back to Top