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.

schedule

Thread ID:

Created:

Updated:

Platform:

Replies:

109976 Jul 14,2013 09:52 AM Sep 2,2013 02:36 AM WPF 18
loading
Tags: Tools
Emmanuel Mbangas
Asked On July 14, 2013 09:52 AM

Hello, it's possible to detect when a schedule appointment is update ?


Joy Oyiess Rex  K [Syncfusion]
Replied On July 15, 2013 01:04 AM

Hi Emb,

 

Could you please share us more details regarding the platform and the version in which you are using our Schedule control, So that we could  provide you possible solution.

 

Please let me know, if you have any concerns.

 

Regards,

Joy Oyiess Rex K


Emmanuel Mbangas
Replied On July 15, 2013 05:58 AM

I'm using WPF Platforme :

This is my script :

---------------------------------------------------------------------------------
1- declaration schedule / .xaml file
----------------------------------------------------------------------------------
<schedule:Schedule x:Name="schedule"   ItemsSource="{Binding AppointmentInfo}" >               <schedule:Schedule.AppointmentMapping>
             <schedule:ScheduleAppointmentMapping    
                StartTimeMapping="DateDebut"             
                EndTimeMapping="DateFin" 
                SubjectMapping="Sujet" 
                LocationMapping="Lieux"/>
     </schedule:Schedule.AppointmentMapping>
</schedule:Schedule>

-----------------------------------------------------------------------------------
2 - My Problem 
----------------------------------------------------------------------------------

How i can detect when an user updating an appointment ?
Because after i must only saving updating appointment
in database .

Joy Oyiess Rex  K [Syncfusion]
Replied On July 17, 2013 12:12 AM

Hi Emb,

Based on the current implementation of Schedule, you cannot achieve this scenario, instead you can use our “SfSchedule” which is available from our Essential studio Vol 2, 2013, ( 11.2.0.25). Where you can achieve your scenario by handling certain events for listening opening and closing events of Appointment Editor. And also we are able to customize the default template of the Appointment Editor in SfSchedule.

In need of samples, please create a new incident in our Direct Trac  Support System through the following link.

 

http://www.syncfusion.com/support/directtrac/dtnewpost

 

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K


Emmanuel Mbangas
Replied On July 20, 2013 05:36 PM

Hi, 
I use your schedule but i don't know how make binding in ".xaml file"
I have tested all methode but i didn't find ?

This is my script : 
-----------------------------------------------------------------------------------
.xaml fil (WPF Platform)
---------------------------------------------------------------------------------
<syncfusion:SfSchedule  x:Name="schedule"   ItemsSource="{Binding AppointmentInfo}" ScheduleType="Week" >
                 <syncfusion:SfSchedule.AppointmentMapping>
                   what's code for insert my appointment mapping ... ?
                </syncfusion:SfSchedule.AppointmentMapping>           
 </syncfusion:SfSchedule>

Info : i dont' want binding in code behind , only in .xaml file 
         
Thanks for your help

Joy Oyiess Rex  K [Syncfusion]
Replied On July 22, 2013 08:49 AM

Hi Emb,

 

We have created a simple sample for AppointmentMapping in SfSchedule(in WPF). Please find the sample in the attachment.

In order achieve your scenario  to update the  dynamic changes of Appointments in the database, we need to go for Appointment Editor Customization. We have implemented Appointment Editor Customization and that will be available from “Syncfusion Essential Studio Vol 3, Aug 2013” only. So in order to get the patch for these same, please create a new incident in our Direct Trac  Support System through the following link.

 

http://www.syncfusion.com/support/directtrac/dtnewpost

 

Please let me know, if you have any concerns.

 

Regards,

Joy Oyiess Rex K



SfScheduleMapping_Wpf_7f53a02f.zip

Emmanuel Mbangas
Replied On July 23, 2013 06:19 PM

Hi Joy Oyiess Rex  K,
it's working , thanks.
I have another problem with Appointment Editor customization  :
Can you give me if it's possible to customize Appointment Editor with
this scheduler "<syncfusion:SfSchedule>?

I have tested with simple schedule "  <schedule:Schedule>it's working but the
interface is less attractive contrary to  "<syncfusion:SfSchedule>" .

I have read all sample about Appointment Editor customization  but every time 
 "<syncfusion:SfSchedule>" is never used ....
Can you give me a sample with this schedule if it's possible , please.

(My WPF Essential Studio version used is : 11.2.025)

Thanks

Joy Oyiess Rex  K [Syncfusion]
Replied On July 24, 2013 01:15 AM

Hi Emb,

 

Glad that your previous query was resolved by our solution.

 

We have implemented  "SfSchedule" and it was available from our " Essential studio Vol 2, 2013, ( 11.2.0.25)". The Appointment Editor Customization support for WinRT was available from our "Syncfusion Essential Studio for WinRT (XAML) v11.2.0.29 (Service Pack) ".The Appointment Editor Customization support for WPF will be available from our "Syncfusion Essential Studio Vo1 3, Aug 2013.

 

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K


Emmanuel Mbangas
Replied On July 24, 2013 05:41 PM

Thanks Joy Oyiess Rex  K ,
I have a last question after i finish, it's possible to add color for specifique appointment ?

For example : in my scheduler 
------------------------------------------
Monday -> Appointment 1 : background color = red;
Tuesday -> Appointment 2 : background color = blue;
 ...

I have tested all scenario but never success
I think there are only one background for all appointments ...

Joy Oyiess Rex  K [Syncfusion]
Replied On July 25, 2013 12:34 AM

Hi Emb,

ScheduleAppointment have the "AppointmentBackground" property by thus we can set background color for each appointments.We can also map the background color through "AppointmentBackgroundMapping" property of ScheduleAppointmentMapping. 
Please find the sample for the same in the attachment.

If the provided solution doesn't meet your requirement, please revert us back with more information by thus we could assist you better.

Please let us know, if you need any further assistance.

Best Regards,
Joy Oyiess Rex K



SfScheduleMapping_Wpf_d05910d6.zip

Emmanuel Mbangas
Replied On July 25, 2013 06:00 PM

Hi Joy Oyiess Rex  K ,

* "AppointmentBackground" work with <syncfusion:SfSchedule>
   but dond't work with <syncfusion:Schedule>

* I use only <syncfusion:Schedule> because i need to custom appointment editor 

so to conclude i can't use <syncfusion:SfSchedule> ...because
I can't customize appointment editor .
Have you a solution ?

Joy Oyiess Rex  K [Syncfusion]
Replied On July 26, 2013 03:42 AM

Hi Emb,

Based on the implementation of Schedule control, there is no support for customizing the background color of the each appointments. But we can achieve your requirement by overriding the default template for the Appointments. We have attached a simple sample for the same, by overriding the default template of day/week view appointments.

If the provided solution doesn't meet your requirement, please revert us back with more information by thus we could assist you better.

Please let us know, if you need any further assistance.

Best Regards,
Joy Oyiess Rex K


ScheduleAppointmentTemplateDemo_33796fec.zip

Emmanuel Mbangas
Replied On August 4, 2013 05:21 PM

Hi Joy Oyiess Rex  K , 

I'm working now with SfSchedule on WPF Platform and I would like customize "DayViewItemHeader".

This Is my problem , I have an object : Appointment
For each appointment i have an image and i would like add this image
in the header.This is that i have do



/////////////////////  SCHEDULLE //////////////////////

1- Initialisation schedule
2- Binding with my list of object AppointmentInfo
3- AppointmentInfo have this property [StartTime, EndTime, Subject, Location, userImage]
4- My Problem i can't add the userImage in the DayViewItemHeader
5- I have tested to add  resources in the header it's working but it's not 
   that i want.  

-------------------------------------------------------------------


<syncfusion:SfSchedule  x:Name="Scheduler"  WorkEndHour="18" WorkStartHour="9" IntervalHeight="40" IsHighLightWorkingHours="True" ScheduleType="Week" 
    ItemsSource="{Binding AppointmentInfo}" Resource="Doctors" DayHeaderOrder="Merged" TimeInterval="OneHour" >
         <syncfusion:SfSchedule.AppointmentMapping>
          <syncfusion:ScheduleAppointmentMapping  StartTimeMapping="StartTime" EndTimeMapping="EndTime" SubjectMapping="Subject" LocationMapping="Location" NotesMapping="Note"/>
         </syncfusion:SfSchedule.AppointmentMapping>
 </syncfusion:SfSchedule>






/////////////////////  STYLE DayViewItemHeader //////////////////////

1- I have created my syncfusion:DayViewItemHeader like this ... 
2- I have an object appointment with an image path "userImage"
3- The binding don't work ... 
-------------------------------------------------------------------


            <Style TargetType="syncfusion:DayViewItemHeader">
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="syncfusion:DayViewItemHeader">
                            <Grid>
                                <Border Padding="5" Background="Red" BorderBrush="White" BorderThickness="3">
                                    <StackPanel Orientation="Horizontal">
                                        <!--image patient-->
                                        <Image Source="{Binding userImage}" Height="80" Width="100"/>
                                        <Grid>
                                            <Grid.RowDefinitions >
                                                <RowDefinition />
                                                <RowDefinition/>
                                            </Grid.RowDefinitions>
                                            <TextBlock Grid.Row="1" Foreground="White" FontSize="15" HorizontalAlignment="Center" VerticalAlignment="Center"  Text="{Binding DisplayName}" />
                                        </Grid>
                                    </StackPanel>
                                </Border>
                            </Grid>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>



/////////////////////  That I want //////////////////////

For example : 

1-  On monday an user "Marc" have an appointment i want to 
    add his image on the monday header.

2-  On friday an user "Thony" have an appointment i want to 
    add his image on the friday header.

------------------------------------------------------
Monday                 ...                   Sunday
userImage1                                   userImage7


-------------------------------------------------------

Appointment1         ...                     Appointment7

-----------------------------------------------------


Joy Oyiess Rex  K [Syncfusion]
Replied On August 5, 2013 06:53 AM

Hi Emb,

 

In order to achieve your requirement, we don’t have any direct support, instead we can achieve your requirement by override the default template of ScheduleDaysHeaderViewControl .We have created a simple sample for the same, please find the sample in the attachement.

 

In the sample we have override the default template of ScheduleDaysHeaderViewControl  and we have set the UserImage for the DayHeader background through the converter based on the corresponding date and appointment collection.

 

If the provided solution doesn't meet your requirement, please revert us back with more information, by thus we could assist you better.

 

Please let us know, if you have any concerns.

 

Regards,

Joy Oyiess Rex K



SfScheduleMapping_Wpf_9d62c49b.zip

Emmanuel Mbangas
Replied On August 12, 2013 03:12 AM

Hi Joy Oyiess Rex  K ,


Thanks ,your solution working fine.


You said in previous mail  " The Appointment Editor Customization support for WPF will be available from our "Syncfusion Essential Studio Vo1 3,  Aug 2013


Now it's 12, Aug .. have you implemented modifications for costomize 

SfSchedule" Appointment Editor ?



 



Joy Oyiess Rex  K [Syncfusion]
Replied On August 13, 2013 07:37 AM

Hi Emb,

As mentioned earlier the "Appointment Editor Customization support for SfSchedule in WPF" will be available from our Syncfusion Essential Studio Vol 3,  Aug 2013. We can probably expect this release by the end of this month.
we request you to check our website perioducally for further related updates.

Please let us know, if you have any concerns.

Regards,
Joy Oyiess Rex K

Emmanuel Mbangas
Replied On August 30, 2013 08:03 AM

Hi Joy Oyiess Rex  K , i have a last problem
i would like tu use your gallery http://www.syncfusion.com/products/wpf/gallery  

I looked in "explore sample" but don't find a sample with gallery.
Can you give me a sample ?

I use WPF platform , version 11.2.025 
thanks for your help.


Karuppasamy P [Syncfusion]
Replied On September 2, 2013 02:05 AM

Hi Emb,

Sorry for the delay being caused.

We have updated the sample in the respective forum
 

Kindly followup the same.

Regards,
Karuppasamy P

Karuppasamy P [Syncfusion]
Replied On September 2, 2013 02:36 AM

Hi Emb,

 

Please find the forum link where the Gallery sample have been updated

 http://www.syncfusion.com/support/forums/general/110896

 Please let us know if you have any concerns.

 

Regards,

Karuppasamy P

 



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.

;