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

How to reduce the size of default popup calender?

1 Answer 154 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
ravi sankar
Top achievements
Rank 1
ravi sankar asked on 29 Jan 2010, 10:32 AM
Hi,
Is there any property to reduce the size(height,width) of calander popup .
I think the default size is 180x180 pixels,when i am reducing the size the part of the calender is displayed ,instead of compressing to the required size.
i want to resize to 150 x 150. or how to get the calender popup with scroll bar   ,which appeared when a click event is occured on datapicker control.

Thanks in advanced

Ravi

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 01 Feb 2010, 01:10 PM
Hi Ravi,

Thank you for contacting us.

Setting the Width and Height properties of the calendar PopUp can be achieved easily in Expression Blend. If you right-click on your DatePicker and choose from the menu Edit Template->Edit a Copy, Blend will generate for you all styles of the DatePicker. Then search for

<Popup x:Name="PART_Popup">

There you can set the Width and Height property of the Grid inside that PopUp. This is the Grid that holds the Calendar.  

Hope this helps.

If you have further questions please feel free to contact us again.

Greetings,

Konstantina
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.
Tags
DatePicker
Asked by
ravi sankar
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or