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

RadScheduleView not displaying a “ _ ” character in the title

4 Answers 67 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Karthik
Top achievements
Rank 1
Karthik asked on 22 Mar 2013, 03:04 PM

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.

4 Answers, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 27 Mar 2013, 08:30 AM
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.

0
Karthik
Top achievements
Rank 1
answered on 27 Mar 2013, 05:00 PM
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
0
Vladi
Telerik team
answered on 29 Mar 2013, 09:50 AM
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.

0
Karthik
Top achievements
Rank 1
answered on 29 Mar 2013, 02:23 PM
Thank you very much  Vladi for your help....
Tags
ScheduleView
Asked by
Karthik
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Karthik
Top achievements
Rank 1
Share this question
or