Calendar Style

5 posts, 1 answers
  1. Pierre-Antoine DOUCHET
    Pierre-Antoine DOUCHET avatar
    11 posts
    Member since:
    Oct 2009

    Posted 20 Oct 2009 Link to this post

    Hello,

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

    Thanks.
  2. Pavlina
    Admin
    Pavlina avatar
    6084 posts

    Posted 20 Oct 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Pierre-Antoine DOUCHET
    Pierre-Antoine DOUCHET avatar
    11 posts
    Member since:
    Oct 2009

    Posted 20 Oct 2009 Link to this post

    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.

  5. Answer
    Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 20 Oct 2009 Link to this post

    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.
  6. Pierre-Antoine DOUCHET
    Pierre-Antoine DOUCHET avatar
    11 posts
    Member since:
    Oct 2009

    Posted 20 Oct 2009 Link to this post

    Thanks for your help.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017