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

RAD DATE TIME PICKER - Restrict Resize problem

2 Answers 113 Views
Window
This is a migrated thread and some comments may be shown as answers.
PALANISAMY V
Top achievements
Rank 1
PALANISAMY V asked on 03 Mar 2010, 05:51 AM
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 Answers, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 04 Mar 2010, 12:39 PM
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.
0
PALANISAMY V
Top achievements
Rank 1
answered on 04 Mar 2010, 12:46 PM
Hi, nice to see,
but iam expecting for WINDOWS APPLICATION .. kindly do favor.

Thanks in advance....
Tags
Window
Asked by
PALANISAMY V
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
PALANISAMY V
Top achievements
Rank 1
Share this question
or