month on 2 digit (again -0 )

4 posts, 0 answers
  1. FRANCOIS
    FRANCOIS avatar
    3 posts
    Member since:
    Jul 2010

    Posted 21 Jul 2010 Link to this post

    Hi,

    With the version Q2 2010 - 2010.2.714.35,
    When i set a date with 2 digit for the month (such as 01/01/2010), this error occurs :

    analyse de "(?<dim.>(?<=\b|\W)dim.(?=\b|\W)|(?<=\b|\W)dimanche(?=\b|\W))|(?<lun.>(?<=\b|\W)lun.(?=\b|\W)|(?<=\b|\W)lundi(?=\b|\W))|(?<mar.>(?<=\b|\W)mar.(?=\b|\W)|(?<=\b|\W)mardi(?=\b|\W))|(?<mer.>(?<=\b|\W)mer.(?=\b|\W)|(?<=\b|\W)mercredi(?=\b|\W))|(?<jeu.>(?<=\b|\W)jeu.(?=\b|\W)|(?<=\b|\W)jeudi(?=\b|\W))|(?<ven.>(?<=\b|\W)ven.(?=\b|\W)|(?<=\b|\W)vendredi(?=\b|\W))|(?<sam.>(?<=\b|\W)sam.(?=\b|\W)|(?<=\b|\W)samedi(?=\b|\W))" - Nom de groupe non valide : les noms de groupes doivent commencer par un caractère alphabétique.

       à System.Text.RegularExpressions.RegexParser.ScanGroupOpen()
       à System.Text.RegularExpressions.RegexParser.ScanRegex()
       à System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op)
       à System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, Boolean useCache)
       à System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options)
       à Telerik.Windows.Controls.DayOfWeekParser.TryParse(String value, DateTime& result, DateTime current) dans c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Input\DateTimePicker\Parsers\DayOfWeekParser.cs:ligne 31
       à Telerik.Windows.Controls.CompositeDateTimeParser.TryParse(String value, DateTime& result, DateTime current) dans c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Input\DateTimePicker\Parsers\CompositeDateTimeParser.cs:ligne 67
       à Telerik.Windows.Controls.RadDateTimePicker.OnCurrentDateTimeTextChanged() dans c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Input\DateTimePicker\RadDateTimePicker.cs:ligne 1117
       à Telerik.Windows.Controls.RadDateTimePicker.OnCurrentDateTimeTextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) dans c:\Builds\WPF_Scrum\Release_WPF_2010_Q2\Sources\Development\Controls\Input\DateTimePicker\RadDateTimePicker.cs:ligne 1041
       à System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       à System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
       à System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
       à System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType)
       à System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal)
       à System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
       à MS.Internal.Data.PropertyPathWorker.SetValue(Object item, Object value)
       à MS.Internal.Data.ClrBindingWorker.UpdateValue(Object value)
       à System.Windows.Data.BindingExpression.UpdateSource(Object value)
      
    With 01/1/2010, it work's fine.
    How can i set the month format for allow 2 digit in the month number ?

    Thanks in advance

  2. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 23 Jul 2010 Link to this post

    Hi FRANCOIS,

    Would you please send us the whole declaration of the culture and the definition of the control in your application that you are using. We did try to reproduce it locally but with no luck.

    Kind regards,
    Kaloyan
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. FRANCOIS
    FRANCOIS avatar
    3 posts
    Member since:
    Jul 2010

    Posted 23 Jul 2010 Link to this post

    Hi Kaloyan,

    It' an new empty project.
    The C# class doesn't containes any code.

    For this test, i don't put any property in the xaml, only the minimal declaration.

    Here the full xaml file

    <Window x:Class="TestDatePicker.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Telerik="http://schemas.telerik.com/2008/xaml/presentation"
    Title="Window1" Height="300" Width="300">
        <Grid>
            <Telerik:RadDatePicker Width="250" Height="50"></Telerik:RadDatePicker>
        </Grid>
    </Window>

    I leave all culture parameters by default. My Operating System (Win XP Pro SP 3) is in French, as Visual Studio 2008 SP. (Framework .Net 3.5,SP 1.)

    Thanks for your answer.

  5. George
    Admin
    George avatar
    1332 posts

    Posted 28 Jul 2010 Link to this post

    Hello FRANCOIS,

    Thank you for getting back to us.

    We are aware of this problem. It is fixed in our latest internal build. Please try it and let us know if you still have any problems.

    I will glad to assist you further. 

    Sincerely yours,
    George
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top