Telerik Forums
UI for WPF Forum
1 answer
117 views

Hi,

When you open a recurrence appointment the dialog who ask for open event or serie is not well translated in French.

The RadioButton are :

Ouvrir cetévénement

Ouvrir lasérie

Missing a space between last word, must be :

Ouvrir cet événement

Ouvrir la série

 

For information the resourcekey are provided here :

<RadioButton
        AutomationProperties.AutomationId="OpenOccurrenceRB"
        Margin="3"
        telerik:LocalizationManager.ResourceKey="OpenOccurrence"
        GroupName="RecurrenceModeChoice"
        IsChecked="{Binding IsOccurrenceModeSelected, Mode=TwoWay}"/>
<RadioButton
        AutomationProperties.AutomationId="OpenSeriesRB"
        Margin="3"
        telerik:LocalizationManager.ResourceKey="OpenSeries"
        GroupName="RecurrenceModeChoice"
        IsChecked="{Binding IsSeriesModeSelected, Mode=TwoWay}"/>

 

Regards

Luc

Kalin
Telerik team
 answered on 08 Apr 2015
1 answer
122 views
I have created a custom AnnotationRange following the CustomLayerAndCustomAnnotation example and I would like any text the user types in the editor to break this annotation range and only show content that was loaded with this range and never edited to show up in the range.

I'm calling SplitAnnotationRange on the current AnnotationRange in a PreviewEditorKeyDown event handler after I have determined that they keypress was one that would insert content. The annotation range is split at the correct position but my cursor is not placed in the area of the split, it is at the start of the second range. If I call CaretPosition.MoveToPrevious the cursor ends up at the end of the first annotation range.

I have tried all combinations of SkipPositionBefore on my start and end ranges but I believe the correct settings are False on the RangeStart and True on the RangeEnd which should make the position between a RangeEnd and a RangeStart a valid editable position.

Is there any easier way to get content inserted by the user to automatically split my annotation range or to get the cursor to go into the position between the RangeEnd and RangeStart after SplitAnnotationRange.
Petya
Telerik team
 answered on 07 Apr 2015
12 answers
671 views
I'm looking for a simple way to implement server-side filtering using the RadDataFilter for WPF. All examples I've seen so far seem too complex.

Is there an easy way to translate the collection of filterdescriptors into a SQL Where clause that can then be passed to a dynamic SQL Server stored procedure?

What I'm looking for is the code (VB .Net) to take the RadDataFilters/FilterDescriptors from a RadDataFilter control and translate those into the SQL Where clause.

Of course, if there was an easier way to pull the result set from the server using the RadDataFilter filters that would be nice too!

Thanks in advance ...

Greg

Dimitrina
Telerik team
 answered on 07 Apr 2015
1 answer
141 views

Hello. I tried to apply tree layout on 50 generated nodes (by first tab).

This is result:

http://joxi.ru/L21RM8Quq4zWAX

But, while IgnoreContainers=true, result is:

http://joxi.ru/Vm6dpMLSqZvyAZ

Why  layouting don't work in this case? I don't want to involve containers in layouting algotithm.

The screenshots are from your demo projects (xaml-sdk-master).

 

Petar Mladenov
Telerik team
 answered on 07 Apr 2015
1 answer
231 views

Hi, I encounter a problem about calling the event handler of the scrollviewer inside radgridview template in a style .xaml file.
 I have a radgridview which refer to a basic style in another style xaml file. And the its content is several column build up a table

========== page1.xaml ============

<telerik:RadGridView x:Name = "rgv1" Style="{StaticResource BasicRGVStyle}">

     <telerik:RadGridViewColmns>
           <   ...   few columns ...>
     </telerik:RadGridViewColumns>

</telerik:RadGridView>



and this styling has its template as scrollviewer (when the row or column exceed the viewport, scroll bar appear)

========== BasicStyle.xaml ==========

<Style x:Key="BasicRGVStyle" TargetType="telerik:RadGridView">

     <Setter Property="Template">
          <Setter.Value>

               <ControlTemplate TargetType="{x:Type telerik:RadGridView}">

                     ...

                     <telerik:GridViewScrollViewer x:Name="PART_ItemScrollViewer" Grid.Row="1" ScrollChanged="PART_ItemsScrollViewerChanged">

                     </telerik:GridViewScrollViewer>

                     <Border x:Name="Border1" Grid.Row="2" ...>

                                ...

                      </Border>

</Style>


Can I call PART_ItemsScrollViewerChanged event handler in my page1.xaml.cs and i want to control the border inside this event handler. I recall that it prompt some error some sort like no such event handler found and object reference error.

Tell me if you can't understand my question. Thanks

Dimitrina
Telerik team
 answered on 07 Apr 2015
6 answers
354 views
I am looking for a way to apply the texttrimming property to a maskedinput. This property is not directly available at the maskedinput level
Pavel R. Pavlov
Telerik team
 answered on 07 Apr 2015
3 answers
99 views
On pulling the column in thus trying to resize it, the column collapses into a tiny width and refuses to get back in place.

I haven't a clue why this could be happening, hope someone from this forum could help.
  
TIA, 
Deepika
Deepika
Top achievements
Rank 1
 answered on 07 Apr 2015
1 answer
904 views
I have a RadRibbonDropDownButton that has the DropDownContent set to a RadContextMenu. The RadContextMenu contains menu items some of which contain sub menu items. Some of the submenus contain a large number of items and use scrolling to display all of them.

If a scroll down to the bottom of one of the sub menus to select and item and then go back into that sub menu, I would like it to be scrolled back to the top. However, it seems to remember the last scroll position and is still scrolled to the bottom. Is there a way to change this so that the scroll position is not remembered, and the submenu is also scrolled to the top when it is opened.

The menu items and submenu items are constructed dynamically using data binding, so I have a reference to the RadContextMenu, but not to any of the menu items it contains.
Nasko
Telerik team
 answered on 06 Apr 2015
1 answer
600 views

Hello,

i installed the old WPF release 2015.1.225.45 and reinstalled the version 2015.1.401.45 three times, because the demos named Telerik_UI_for_WPF_2015_1_0225_Demos only showed blank screens.

In Visualstudio 2013 Community Release under Windows 8.1 Pro 64 bit german, the telerik assemblies are listed 3 times with the same version (2015.1.401.45) when i add them over <References Add> /Assemblies/Extensions:

http://w2ww.de/downloads/TelerikMA.png
Additional the Assembly Telerik.Windows.Controls.EntityFramework60.dll is not listed. When i make a new Telerik WPF project, the dll is offered:

http://w2ww.de/downloads/TelerikMA.png

I added the Telerik.Windows.Controls.EntityFramework60.dll  assembly by browsing to:
C:\Program Files (x86)\Telerik\UI for WPF Q1 2015\Binaries\WPF45

When i build, i got the following error outout:


1>c:\Program
Files (x86)\Telerik\UI for WPF Q1
2015\Binaries\WPF45\Telerik.Windows.Controls.EntityFramework60.dll : error
CS1705: Assembly 'Telerik.Windows.Controls.EntityFramework60,
Version=2015.1.401.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' uses
'Telerik.Windows.Controls, Version=2015.1.401.45, Culture=neutral,
PublicKeyToken=5803cfa389c90ce7' which has a higher version than referenced
assembly 'Telerik.Windows.Controls, Version=2015.1.225.45, Culture=neutral,
PublicKeyToken=5803cfa389c90ce7'

==========
Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

 When i replace the Telerik.Windows.Controls.EntityFramework60.dll with Telerik.Windows.Controls.EntityFramework.dll. I get the following error:


1>------
Build started: Project: RAEPlayer, Configuration: Debug x86 ------

1>C:\Program
Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5):
warning MSB3277: Found conflicts between different versions of the same
dependent assembly that could not be resolved. 
These reference conflicts are listed in the build log when log verbosity
is set to detailed.

1>C:\Projects\RAEPlayer\RAEPlayer\Controller.cs(29,16,29,44):
error CS0246: The type or namespace name 'RadEntityFrameworkDataSource' could
not be found (are you missing a using directive or an assembly reference?)

==========
Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

I use a RadEntityFrameworkDataSource

I added the following to the project file and restarted Visualstudio:

<PropertyGroup>

<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>

I still got this error:


1>------
Build started: Project: RAEPlayer, Configuration: Debug x86 ------

1>C:\Program
Files (x86)\MSBuild\12.0\bin\Microsoft.Common.CurrentVersion.targets(1697,5):
warning MSB3277: Found conflicts between different versions of the same
dependent assembly that could not be resolved. 
These reference conflicts are listed in the build log when log verbosity
is set to detailed.

1>C:\Projects\RAEPlayer\RAEPlayer\MainWindow.xaml(34,119):
error MC1000: Unknown build error, 'Cannot resolve dependency to assembly
'Telerik.Windows.Data, Version=2015.1.225.45, Culture=neutral,
PublicKeyToken=5803cfa389c90ce7' because it has not been preloaded. When using
the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on
demand through the ReflectionOnlyAssemblyResolve event. Line 34 Position 119.'

==========
Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

Anyone a hint?

Regards Winfried Wille

email: ww@w2ww.de


Dimitrina
Telerik team
 answered on 06 Apr 2015
5 answers
79 views
I am attempting to implement a custom tile provider using Decarta maps as the source. When I request the tiles, I need to know the lat/lon of the center of the tile.
1.) How can I find the lat/lon of the center of the tile based upon the tilePositionx and tilePositiony that are passed to the GetTile method?
2.) Which tiles are trimmed or cut off at the edges of the map? For example: let's say I have a map that has tiles 200 pixels wide and the map is 700 pixels wide. I would need a total of 4 tiles, which would be 800 pixels. Obviously, 800 pixels is wider than the 700 pixels of the map, so which tiles would be cut off or hidden beyond the bounds of the map?

Thanks
Petar Mladenov
Telerik team
 answered on 06 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?