RadScheduleView not displaying a “ _ ” character in the title

5 posts, 0 answers
  1. Karthik
    Karthik avatar
    10 posts
    Member since:
    Jul 2012

    Posted 22 Mar 2013 Link to this post

    Hello Guys I am using Telerik Rad Controls, Silverlight. I am using RadScheduleView in the TimelineViewDefinitionI am assigning a title with all the characters like "@!#$%^()_+=" on the frontend,

    and when I run it I can see all the characters except " _ " does anyone know about it, is this something telerik have to fix. Below is the code, can anyone please help me out please.

    <telerik:RadScheduleView Grid.Row="1" Margin="5,5,5,5"
                                       Name="scheduleViewScenario"                                   
                                       ToolTipTemplate="{x:Null}"
                                       ShowDialog="ScheduleViewScenario_ShowDialog"
                                       NavigationHeaderVisibility="Visible">
           <telerik:RadScheduleView.ViewDefinitions>
                            <telerik:TimelineViewDefinition                                           
                                    VisibleDays="540"
                                    TimerulerMajorTickStringFormat="{}{0:MM}"
                                    TimerulerGroupStringFormat="{}{0:yyyy}"
                                    TimerulerMinorTickStringFormat="{}{0:dd}"
                                    ShowTimeRuler="True"
                                    MinorTickLength="1month"
                                    MajorTickLength="1month"
                                    StretchGroupHeaders="True"
                                    Title="@!#$%^()_+= _ _ _ T_E_S_T_K_K_B_"
                                    GroupTickLength="Auto"    >  
                              </telerik:TimelineViewDefinition>
            </telerik:RadScheduleView.ViewDefinitions>
    </telerik:RadScheduleView>


    Expecting result to be @!#$%^()_+= _ _ _ T_E_S_T_K_K_B_

    Actual result @!#$%^()+= TESTKKB (Refer the screenshot attached)

    " _ " is completely missing like it was not entered. can anyone please help me out please. Thank you very much.

  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 27 Mar 2013 Link to this post

    Hello,

    Because the Title property is localized it skips the '_' symbol and in order to escape it you will need to just write two underlines side by side instead of just one.

    The next code snippet shows how your Title should be set in order to show the underline symbols:
    <telerik:TimelineViewDefinition Title="@!#$%^()__+=__ __ __T__E__S__T__K__K__B__">


    Greetings,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Karthik
    Karthik avatar
    10 posts
    Member since:
    Jul 2012

    Posted 27 Mar 2013 Link to this post

    But it is only in the case of "_", rest of all the characters are working fine right...
    is this the only way to see the "_" character?
    or is there any replacment for the title...?

    Thank you very much
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 29 Mar 2013 Link to this post

    Hello,

    As the Title property is localized in the ScheduleView control and because of this localization the '_' is a special symbol which is skipped. The localization does not effect the other symbols, that is why the '_' need to be escaped and the easiest approach is to place two symbols side by side.

    Greetings,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Karthik
    Karthik avatar
    10 posts
    Member since:
    Jul 2012

    Posted 29 Mar 2013 Link to this post

    Thank you very much  Vladi for your help....
Back to Top
DevCraft banner