Code behind not knowing coordinates

2 posts, 0 answers
  1. John
    John avatar
    15 posts
    Member since:
    Aug 2010

    Posted 24 Sep 2010 Link to this post

    Apologies if this is a silly question, still learning telerik...

    I have a RadWindowManager that has several windows.  When a user moves them around and clicks a button that does a postback the code behind has no knowledge of the current location of the windows.  Surely it can do this...  I must be missing something obvious.  Would I have to do a postback to update the viewstate of each window?  (the viewstate is set to false for the windows, but true for the window manager so it remembers orginal windows along with newly spawned).  Do I have to keep track of the changes client side (after the client side events) and send it to the server?  I would think there is a very easy way to do this...

    Thank you in advance,
    John
  2. John
    John avatar
    15 posts
    Member since:
    Aug 2010

    Posted 27 Sep 2010 Link to this post

    Wanted to post this for anyone else who may run into this.  Turns out I was looking in the wrong place - it has nothing to do with the RadWindow and everything to do with the RadWindowManager.  "PreserveClientState" is the key - set it to true and it will set a cookie for future loads.

    http://www.sitefinity.com/help/developer-manual/radwindow.net2-telerik.webcontrols.radwindowmanager-preserveclientstate.html
Back to Top