We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Control Width by Percentage

Thread ID:

Created:

Updated:

Platform:

Replies:

108013 Mar 30,2013 05:32 PM Apr 1,2013 04:47 AM WinRT 2
loading
Tags: SfCalendar
Steve Graddy
Asked On March 30, 2013 05:32 PM

I have a Win8 App page with your calendar control on it similar to your Appointments sample where Grid is the only container on the page and where calendar is in Grid Column 0 and TransitionContent Control is in Grid Column 1. I would like the widths of these two controls to size by percentage of screen size. An example would be calendar 3/5 and TransitionContent 2/5. I have tried setting the width to 3* and 2* but that was not valid. How can I make the calendar resize as I need for different size screens?

Orgbrat 


Swasthika Lakshmi I [Syncfusion]
Replied On April 1, 2013 03:31 AM

Hi Steve,
 
Thank you for using Syncfusion products.

We have created a sample to achieve your requirement for making calendar in different sizes by setting Width of Grid Column as 3* and 2* and we need to set Width and Height of SfCalendar control as Auto. Please find the attached sample.

Please let us know if you have any queries.

Regards,
Swasthika Lakshmi I



CalendarCellTemplateSample1906952717_87fff2cc.zip

Swasthika Lakshmi I [Syncfusion]
Replied On April 1, 2013 04:47 AM

Hi Steve,

Sorry for the inconvenience caused.

Please ignore the sample attached previously. Please find the attached sample to achieve your requirement.

Regards,

Swasthika Lakshmi I



CalendarCellTemplateSample_1b7fea4d.zip

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;