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

Appointment dialog close event

1 Answer 82 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Cheau-Long
Top achievements
Rank 1
Cheau-Long asked on 06 Sep 2011, 06:38 PM
Hi Telerik,
I want to capture the "close" event when the custom scheduler dialog box is closed below (i.e. clicking on the X button), how can I do so?

Thanks, Cheau




        <ControlTemplate x:Key="EditAppointmentTemplate" TargetType="{x:Type telerik:SchedulerDialog}">           

            <Grid VerticalAlignment="Center" Margin="10">

                <Grid.ColumnDefinitions>

                    <ColumnDefinition Width="150"/>

                    <ColumnDefinition/>

                </Grid.ColumnDefinitions>

                <Label Grid.Column="0" Content="Number of Tap Activity" Height="25"/>

                <telerik:RadNumericUpDown Grid.Column="1"  Height="25" Width="50" NumberDecimalDigits="0" ValueFormat="Numeric" HorizontalAlignment="Left"

                                          Value="{Binding Occurrence.Appointment.TapActivityNum, Mode=TwoWay}" />

            </Grid>

        </ControlTemplate>

 

        <Style x:Key="EditAppointmentStyle" TargetType="telerik:SchedulerDialog">

            <Setter Property="Width" Value="250" />

            <Setter Property="Height" Value="100" />

            <Setter Property="IsTabStop" Value="False" />

            <Setter Property="SnapsToDevicePixels" Value="True" />

            <Setter Property="Template" Value="{StaticResource EditAppointmentTemplate}" />

            <Setter Property="HeaderTemplate">

                <Setter.Value>

                    <DataTemplate>

                        <StackPanel Orientation="Horizontal">

                            <TextBlock Text="Number of Tap Activity" />

                        </StackPanel>

                    </DataTemplate>

                </Setter.Value>

            </Setter>

        </Style>


1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 12 Sep 2011, 01:45 PM
Hello Cheau-Long,

RadScheduleView does not provide such event at this stage. Could you give us more information why you need such an event?

All the best,
Rosi
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
ScheduleView
Asked by
Cheau-Long
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or