RAD DATE TIME PICKER - Restrict Resize problem

3 posts, 0 answers
  1. PALANISAMY V
    PALANISAMY V avatar
    4 posts
    Member since:
    Aug 2009

    Posted 02 Mar 2010 Link to this post

    Hi,
    I have Rad date time picker in my project. I need to restrict the resizing the Rad date time picker. but i couldnot. Kindly help me that how to do.  Herewith I attached the image also. kindly go through....
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 Mar 2010 Link to this post

    Hi,

    I am not quite sure if I understand you correctly - could you please provide more information about what exactly you want to achieve? If this datepicker is displayed in RadWindow and you want to make sure that the calendar will be fully shown, I suggest to use the approach used in this demo - there we autosize the RadWindow control whenever the datepicker's calendar is shown and closed after that:


    <telerik:RadDatePicker ID="Datepicker1" Skin="Sunset" runat="server">
        <ClientEvents OnPopupOpening="AdjustRadWidow" OnPopupClosing="AdjustRadWidow" />
    </telerik:RadDatePicker>
     
    <script type="text/javascript">
        function GetRadWindow()
        {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }
             
     
        function AdjustRadWidow()
        {
          setTimeout(function(){GetRadWindow().autoSize(true)}, 500);
        }
    </script>


    Sincerely yours,
    Georgi Tunev
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. PALANISAMY V
    PALANISAMY V avatar
    4 posts
    Member since:
    Aug 2009

    Posted 04 Mar 2010 Link to this post

    Hi, nice to see,
    but iam expecting for WINDOWS APPLICATION .. kindly do favor.

    Thanks in advance....
Back to Top