RadDatePicker1.PopupDirection How to set this property in Q2 2008

2 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 01 Oct 2009 Link to this post

        We have used telerik Radcontrols for AJAX ASP.net version Q2 2008.
    We have used RadDatePicker I want to set "RadDatePicker1.PopupDirection" property but this property is not available in Q2 2008 version. How to implement this functionality or how to set this property in Version Q2 2008 ?

    Please give your reply. 

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 01 Oct 2009 Link to this post

    Hi Rahul,

    You could customize the popup location by passing a pair of coordinates to the ShowPopup() method that determines where the calendar will be displayed. The example obtains a reference to RadDateInput's text box and displays the popup above it by using the PopupContainer's height to calculate the position. You need to register the PopupAbove() event with DatePopupButton’s click attribute in order to get it execute on clicking the DatePopup button.

    Here is the forum link that describes how to show popup above the dateinput.
    Popup position for RadDatePicker
    Modify the coordinate values according to your requirement to show the popup to show in desired position.

Back to Top