Telerik Forums
UI for WPF Forum
1 answer
173 views

Hi, I'm testing my application with v4.0.30319 dlls on Windows 7.

With my application's language set to en-US, the initial main window is created well with English strings.

However, dynamically created controls are all created with Korean strings, which I assume follow my machine's culture setting. I checked the CurrentUICulture value while debugging, and after the first initialization, CurrentUICulture is somehow reset to ko-KR.

This does not happen with the previous Telerik dlls (2015 Q2) on Windows 7, or with v4.0.30319 dlls on Windows 10.

So I'm guessing v4.0.30319 dlls somehow reset the culture setting after the first initialization, only on Windows 7.

How can I fix this?

Dinko | Tech Support Engineer
Telerik team
 answered on 16 Aug 2016
3 answers
154 views
Hi, I would like to set column sorting based on other column from grid. Please look on attached picture (Table.png) where you can see simple definition (I have column "Desc1" and primary key "SecMainClass". For header on column "Desc1" I'm using resource "Main classification"). I want use sorting for column "Desc1" based on primary key "SecMainClass". I saw that I can use property "SortMemberPath" for additional sorting definition and that works fine if I don't have grouping. When I put column "Desc1" as grouped column, grid use default ("alphabetically") sorting. For grouping I'm using new "ColumnGroupDescriptor". Before I decide ask you, I saw that I can use custom group descriptor....Please look attached picture (CustomGrouping.png). As you can see I was create custom grouping descriptor and sorting works fine on grouping too but in that case grid doesn't show totals on grouping header for other columns....(picutre "TotalsON" is with normal GroupColumnDescriptor where totals are showed and picture "TotalsOFF" is with custom grouping descriptor where totals missing). My question is: How I can use custom sorting on ColumnGroupDescriptor? Can you help me and tell me it is possible to apply "GroupSortingExpression" from "custom grouping descriptor" to "ColumnGroupDescriptor" with method "CreateGroupSortExpression"? Can you send me example how I can use that method because I didn't find any example on your documentation or foru?. Do you have maybe any other solution for situation like this? My version is : 2016.2.613.45. Thank you very much for your help. I'm looking forward to hearing from you.
Stefan Nenchev
Telerik team
 answered on 16 Aug 2016
1 answer
402 views

I've placed a RadGridView in the items control template of my combobox. It's working fine with the exception of the filtering, which is a bit "clunky". The gridview displays when clicking on the dropdown button, but when I enter some text, the grid closes and only re-opens (with the new filtered dataset) after clicking twice on the dropdown.

Any ideas?

 

XAML:

<tk:RadComboBox Width="200" Text="{Binding ComboText, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" OpenDropDownOnFocus="True" StaysOpenOnEdit="True" IsFilteringEnabled="True" IsEditable="True" >
<tk:RadComboBox.Items>
<tk:RadComboBoxItem>
<tk:RadComboBoxItem.Template>
<ControlTemplate>
<tk:RadGridView ItemsSource="{Binding MatterList}" SelectedItem="{Binding SelectedMatter}" IsReadOnly="True" AutoGenerateColumns="False" Width="400" Height="150" ShowGroupPanel="False" ScrollViewer.VerticalScrollBarVisibility="Auto">
<tk:RadGridView.Columns>
<tk:GridViewDataColumn Header="Matter Id" DataMemberBinding="{Binding MatterId}" Width="150*" SortingState="Ascending" />
<tk:GridViewDataColumn Header="Description" DataMemberBinding="{Binding MatterDescription}" Width="200*"/>
</tk:RadGridView.Columns>
</tk:RadGridView>
</ControlTemplate>
</tk:RadComboBoxItem.Template>
</tk:RadComboBoxItem>
</tk:RadComboBox.Items>
</tk:RadComboBox>

 

In the Viewmodel, the "MatterList" dataset is an observable collection which invokes "RaisePropertyChanged" event when updated.

Nasko
Telerik team
 answered on 16 Aug 2016
3 answers
198 views

I have a telerik:RadDataForm with an EditTemplate.

In that template I have a number of telerik:DataFormDataField's defined.

What I would like is to have the keyboard focus automatically set to one of these fields (not the first), when I do a BeginEdit().

How?

Dilyan Traykov
Telerik team
 answered on 16 Aug 2016
1 answer
98 views
I do a lot of dynamic creating columns and such and I see the first 2 cells in the row (item for telerik) are not seen.
example I have 10 columns but will have 12 cells.
what are these first 2 cells?
Dilyan Traykov
Telerik team
 answered on 16 Aug 2016
2 answers
186 views

 

Hi,

how to invert the Arrow direction >> to <<

the property flowDirection isn't good for me because it's change all the inner controls directions

 

Thanks

shay
Top achievements
Rank 1
 answered on 16 Aug 2016
2 answers
163 views

Hello~

I have attached picture.

That picture explains my problem.

I want to restored no 1.  

Please help me~

 

MinSu
Top achievements
Rank 1
 answered on 16 Aug 2016
14 answers
237 views
I bag your pardon - I've gotten error in the title of previouse post. I develop C# WPF MVVM Prism 6 application. My application' solution comprises Shell project (where main window is RadWindow) and numerous Prism module projects. Each project of these PrismModule projects has Views (Prism UserControl) and ViewModels (PrismViewModel). I need to define in the one of the modules (in Prism module not in Shell) several Views (approximetly 8). Seven of them must dysplay real-time chart each. Suppose these seven Views have a shared ViewModel. And the one remaining View (call it 'A' view) must comprise all abovementioned seven Views and display them all at the same time. So my question is the following: Can I use RadDocking for this purpose? I've found two your blogs about using RadDocking with Prism: "http://www.telerik.com/blogs/using-raddocking-with-prism-in-wpf-silverlight" and "http://www.telerik.com/blogs/using-the-raddocking-control-with-prism". But both of them are written about such using of RadDocking in Shell. But I need to use RadDocking in the same manner in a Prism UserControl that is a View in a Prism module. In addition, these two blogs specified using of MEF, but I use Unity dependecy injection in my application. So, can I use RadDocking for the purpose described above? Please answer me.
Dmitry
Top achievements
Rank 1
 answered on 15 Aug 2016
3 answers
369 views
Hello. When I set RadPane.IsHidden to 'false' after it has been set to 'true' the RadPain remains invisible. Below is XAML markup:
<UserControl x:Class="DeviceReading.Views.DeviceReadingView"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:prism="http://prismlibrary.com/"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             prism:ViewModelLocator.AutoWireViewModel="True">
 
. . . . . . . . . . . . . . . . . . .
<StackPanel Grid.Row="0" Grid.Column="0" HorizontalAlignment="Stretch" Margin="0 5 0 3" Orientation="Horizontal">
   <CheckBox Content="Gas Velocity" Command="{Binding Path=ShowHideGasVelocityChartViewCommand}" CommandParameter="{Binding Path=IsChecked, RelativeSource={RelativeSource Self}}"/>
</StackPanel>
<telerik:RadDocking Grid.Row="1" Grid.Column="0" x:Name="Docking">
. . . . . . . . . . . . . . . . . . .
   <telerik:RadSplitContainer>
      <telerik:RadPaneGroup>
         <telerik:RadPane Header="Gas Velocity" IsHidden="{Binding IsGasVelocityChartHidden, Mode=TwoWay}" prism:RegionManager.RegionName="GasVelocityChartRegion" />
      </telerik:RadPaneGroup>
   </telerik:RadSplitContainer>
. . . . . . . . . . . . . . . . . . .
</telerik:RadDocking>
. . . . . . . . . . . . . . . . . . .
 
</UserControl>

Where UserControl is Prism UserControl. Below is ViewModel code.

public class DeviceReadingViewModel : BindableBase, IConfirmNavigationRequest
{
   . . . . . . . . . .
   public DeviceReadingViewModel(IEventAggregator eventAggregator)
   {
     this._eventAggregator = eventAggregator;
     this.ShowHideGasVelocityChartViewCommand = new DelegateCommand<object>(this.showHideGasVelocityChartView);
   }
 
   // Field and property controlling of the RadPain status (Visible / Hidden)
   private bool _isGasVelocityChartHidden;
   public bool IsGasVelocityChartHidden
   {
      get { return this._isGasVelocityChartHidden; }
      set { this.SetProperty(ref this._isGasVelocityChartHidden, value); }
   }
 
   // The command of hidding / visualizing of the RadPain.
   public DelegateCommand<object> ShowHideGasVelocityChartViewCommand { get; private set; }
 
   private void showHideGasVelocityChartView(object parameter)
   {
      if ((bool)parameter == true)
        this.IsGasVelocityChartHidden = false;
      else
        this.IsGasVelocityChartHidden = true;
   }
}

Initially (after application loading) the RadPain is visible and the CheckBox is unchecked. When I check the CheckBox first then the RadPain become invisible. But when I uncheck the CheckBox after it then the RadPain remains invisible (but the command is fired). How to have the command display the RadPain each time the CheckBox is unchecked? What I'm doing wrong?
Dmitry
Top achievements
Rank 1
 answered on 15 Aug 2016
1 answer
122 views
Hello, 

I was wondering if there are any existing examples that demonstate the following TreeListView features:
  • Custom template for Drag/Drop behavior ("drop node1 before node2" as a preview, for example)
  • Dragging a TreeListView item into another control that accepts drop (passing a DataObject through a DragEventArgs)

Thanks,
Ryan

Yoan
Telerik team
 answered on 15 Aug 2016
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?