I've tried a few different things and can't seem to get my window to open in the right spot. I have a rad window manager on my page and i call it from several different buttons. It should open a report (which it does), but the window always opens up centered on my screen. When I have a smaller screen, the top is cut off and I can't close the rad window. So my buttons and window manager are on the default.aspx page. I have another page (ReportViewer.aspx) that has the report viewer on it, obviously. Here's the asp code on that page:
And I have code behind that actually calls the report and sends a datasource to it.
On my default page, this is my radwindowmanager:
nothing fancy or anything like that. The button calls this:
If I change height/width dimensions on the window or anything, the main window seems to stay the same size, but yes, the actual text and everything changes to the dimensions I set. I want that main window to be smaller and to move it down so the top will always be seen so it can be closed. Any ideas?
<
telerik:ReportViewer
ID
=
"ReportViewer2"
runat
=
"server"
Report
=
"clsMetal.InHouseQuote, clsMetal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"
>
</
telerik:ReportViewer
>
On my default page, this is my radwindowmanager:
<
telerik:RadWindowManager
ID
=
"RadWindowManager2"
runat
=
"server"
CssClass
=
"RadWindow_Default"
>
</
telerik:RadWindowManager
>
Me
.WinManager.Windows.Item(0).VisibleOnPageLoad =
True
If I change height/width dimensions on the window or anything, the main window seems to stay the same size, but yes, the actual text and everything changes to the dimensions I set. I want that main window to be smaller and to move it down so the top will always be seen so it can be closed. Any ideas?