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

Calendar Style

4 Answers 72 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Pierre-Antoine DOUCHET
Top achievements
Rank 1
Pierre-Antoine DOUCHET asked on 20 Oct 2009, 07:35 AM
Hello,

I wonder if it's possible to shift to the left the calendar using the css and how ?

Thanks.

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 20 Oct 2009, 08:34 AM
Hi Pierre-Antoine,

I am not sure whether I understand your scenario completely.Would you please elaborate a bit more on the details?
Additionally, please examine the following online example and let me know if this is the expected behavior.
Calendar / Client-side API

Sincerely yours,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Pierre-Antoine DOUCHET
Top achievements
Rank 1
answered on 20 Oct 2009, 09:42 AM
Thanks for the information but I have an old version of the rad components.

I use this script : Displaying The Popup Above The Input Area but I want to execute this script when I click on the calendar button and I don't find what event I have to use.

Can you tell me what event should I use ?

Thanks.

0
Accepted
Princy
Top achievements
Rank 2
answered on 20 Oct 2009, 01:14 PM
Hello Pierre-Antoine,

You can try out the following example to set the popup calendar display above the date input of a RadDatePicker:
c#:
 RadDatePicker1.DatePopupButton.Attributes.Add("onclick""ShowPopupAbove();"); 

js:
function ShowPopupAbove() 
 {             
    var picker = $find("<%= RadDatePicker1.ClientID %>");       
    var textBox = picker.get_textBox();    
    var popupElement = picker.get_popupContainer(); 
    var dimensions = picker.getElementDimensions(popupElement); 
    var position = picker.getElementPosition(textBox); 
    picker.showPopup(position.x, position.y - dimensions.height);             
 }    

Thanks
Princy.
0
Pierre-Antoine DOUCHET
Top achievements
Rank 1
answered on 20 Oct 2009, 01:56 PM
Thanks for your help.
Tags
Calendar
Asked by
Pierre-Antoine DOUCHET
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Pierre-Antoine DOUCHET
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or