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

datepicker popup in radwindow

3 Answers 170 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 16 Feb 2012, 09:05 PM
I'm having some issues with the datepicker in a radwindow

1) does the EnableScreenBoundaryDetection work for RadWindow instances as well as browser window instances?

2) I have also tried to set EnableScreenBoundaryDetection to "false" and set the PopupDirection value to TopRight. The datepicker always pops up in the same place.. right below the dateinput. In the end, I can make my dialog larger toaccomodate the datepicker, but I would prefer not to have to.

Here is my markup:

<

 

telerik:RadDatePicker ID="rdpDate" runat="server" Width="100px" DateInput-DateFormat="MM/dd/yyyy" style="vertical-align:middle;z-index:20000" EnableScreenBoundaryDetection="true"></telerik:RadDatePicker>

My Rad Window Z-index is set to 7500.

Attached is what this looks like:

 

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 17 Feb 2012, 06:13 AM
Hello,

I have tried to reproduce the issue but no avail. I am using the version 2011, 3, 1305, 35. Here is the sample code and screenshot.
ASPX:
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
 <Windows>
   <telerik:RadWindow ID="RadWindow1" runat="server" Height="100px">
     <ContentTemplate>
      <telerik:RadDatePicker ID="rdpDate" runat="server" Width="100px" DateInput-DateFormat="MM/dd/yyyy" EnableScreenBoundaryDetection="true" PopupDirection="TopRight" >
      </telerik:RadDatePicker>
    </ContentTemplate>
   </telerik:RadWindow>
 </Windows>
</telerik:RadWindowManager>

Thanks,
Princy.
0
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
answered on 17 Feb 2012, 01:48 PM
I'm using the latest Q1 2012 beta. And I'm also loading a page in the rad window as opposed to using a content template. Any reason why this might make a difference?
0
Galin
Telerik team
answered on 22 Feb 2012, 01:24 PM
Hello Albert,

I have tested with the same beta version and the markup of Princy, but it is working as expected. For reference I am attaching a sample page to this post. Please check it out and let me know how it goes.

Addition, the official Q1 2012 version is already released and I recommend you to upgrade to the latest stable version.

Regards,
Galin
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Calendar
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Princy
Top achievements
Rank 2
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Galin
Telerik team
Share this question
or