ClientUI UXCalendar cause error when using DataTimeCommands

5 replies. Last post: May 17, 2013 12:48 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
zxdluck Member

Hi, I have a problem that when I use DataTimeCommands in UXCalendar control, but it cause error,I wonder if I lose some conference? How to solve this problem now. Thank you very much! the following is my attachment code:

<Intersoft:UXPage    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    xmlns:Intersoft="http://intersoft.clientui.com/schemas"
    x:Class="ClientUIAdvInputCntrl.Views.UXCalendar_DataTimeCommands"
    Title="UXCalendar_DataTimeCommands Page"
    xmlns:local="clr-namespace:Intersoft.Client.UI.Aqua.UXInput;assembly=Intersoft.Client.UI.Aqua.UXInput"
    d:DesignWidth="640" d:DesignHeight="480">
    
    <Grid x:Name="LayoutRoot" Background="White">
        <StackPanel Orientation="Vertical" HorizontalAlignment="Center">
            <Intersoft:UXCalendar DisplayDate="1/1/2010" x:Name="UXCalendar1"
                                  HorizontalAlignment="Center"
                                  CalendarTodayVisibility="Collapsed" />
            <StackPanel Orientation="Vertical">
                <TextBlock Text="Special Date:" />
                <Intersoft:UXButton Command="local:DateTimeCommands.GotoToday"
                                    CommandTarget="{Binding ElementName=UXCalendar1}"
                                    Content="Goto Today" Height="23" Width="150" Margin="5,5"/>
                <Intersoft:UXButton Command="local:DateTimeCommands.GotoDate"
                                    CommandParameter="12/25/2010"
                                    CommandTarget="{Binding ElementName=UXCalendar1}"
                                    Content="Goto Christmas" Height="23" Width="150" Margin="5,5"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</Intersoft:UXPage>
All times are GMT -5. The time now is 12:28 AM.
Previous Next