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

can't close-top bar is hidden

1 Answer 74 Views
Window
This is a migrated thread and some comments may be shown as answers.
Amanda
Top achievements
Rank 2
Amanda asked on 04 Jan 2011, 07:03 PM
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:

<telerik:ReportViewer ID="ReportViewer2" runat="server"  
       Report="clsMetal.InHouseQuote, clsMetal, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" >
   </telerik:ReportViewer>
And I have code behind that actually calls the report and sends a datasource to it.

On my default page, this is my radwindowmanager:
<telerik:RadWindowManager ID="RadWindowManager2" runat="server"  CssClass="RadWindow_Default">
  </telerik:RadWindowManager>
nothing fancy or anything like that.  The button calls this:
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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 05 Jan 2011, 06:55 AM
Hello Amanda,

I can't say why when you set the size of the window, these settings do not take effect - I will need a sample project for that so I can examine your exact setup and logic. If you still experience this problem, please open a support ticket and send us such project (this blog post will help you isolate the case) and we will check it right away.

As for showing the RadWindow's titlebar, you can set KeepInScreenBounds=true. When this property is set, it ensures that RadWindow's titlebar will always be visible when the window is shown / moved with code.


Greetings,
Georgi Tunev
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Window
Asked by
Amanda
Top achievements
Rank 2
Answers by
Georgi Tunev
Telerik team
Share this question
or