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

Position my RadWindow to top

2 Answers 402 Views
Window
This is a migrated thread and some comments may be shown as answers.
Kiresh
Top achievements
Rank 1
Kiresh asked on 19 Jun 2013, 05:02 AM
Hello Everyone,

Here is scenario where i stuck with Rad-Window,

i have a page with too many long Height , now in bottom of page one link is there to open Rad-Window ,when i click on that link it opens Window properly on top but in backside page is reloaded so the window get position to that link and it goes down to bottom .

here is what i want is to make position of window on to top .


Can anyone do this?
Thanks,

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 19 Jun 2013, 06:23 AM
Hi,

You can position RadWindow  either by Client-Side or Server-Side API.
JS:
Window1.moveTo("left", "top");//oWnd.moveTo(500, 50);
C#:
Window1.Top = Unit.Pixel(50);
Window1.Left = Unit.Pixel(500);

Thanks,
Shinu.
0
Kiresh
Top achievements
Rank 1
answered on 19 Jun 2013, 07:21 AM
Thanks Shinu

your suggestion is write but i solved it by using this
ShowContentDuringLoad="true"  its was false before changing code and its working now as per accepted .

Anyway thanks a lot .
Tags
Window
Asked by
Kiresh
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Kiresh
Top achievements
Rank 1
Share this question
or