Hello,
I followed your tutorial to use the RadDataPager and RadGridView. The pager is bound to the view model source items and the Rad Grid View is bound to the RadDataPager. See the following example:
<Grid x:Name="LayoutRoot"
Background="White">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<telerik:RadGridView x:Name="radGridView"
ItemsSource="{Binding PagedSource, ElementName=radDataPager}"
AutoGenerateColumns="False">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding CompanyName}" />
<telerik:GridViewDataColumn DataMemberBinding="{Binding Title}" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
<telerik:RadDataPager x:Name="radDataPager"
Source="{Binding Employees}"
PageSize="5" />
</Grid>
I can see that the pager splits the items into pages of 50 items (I have 10 pages) but the RadGridView shows all the items. Only if I force the reload of the xaml (with Hot Reload), the RadGridView is updated according to the pager items in the current page, until that point all the items are shown.
What am I doing wrong?
Hey, I have using your control RadMenuGroupItem with ItemsSource that is Observable Collection of string. I noticed that for name with underscore in them, the underscore is removed from the name. Here an example:
telerik_123 will turn to telerik123
I use the same ItemsSource in a RadComboBox and in there I don't have this issue.
What can I do to solve this?
Sincerely, Omer
Is it possible to drag to All Day Events and drag from All Day Events?
As can be done in Outlook
Would appreciate help

<Window x:Class="ListBoxTest.MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow" Width="1024" Height="768"> <Window.Resources> <CollectionViewSource x:Key="Results" Source="{Binding}"> <CollectionViewSource.GroupDescriptions> <PropertyGroupDescription PropertyName="Category" /> </CollectionViewSource.GroupDescriptions> </CollectionViewSource> </Window.Resources> <DockPanel DataContext="{Binding}"> <telerik:RadListBox Margin="0 0 10 10" ItemsSource="{Binding Source={StaticResource Results}}" SelectedItem="{Binding SelectedItem, Mode=TwoWay}"> <telerik:RadListBox.GroupStyle> <GroupStyle> <GroupStyle.HeaderTemplate> <DataTemplate> <TextBlock Margin="10 10 0 10" FontWeight="Bold" Foreground="LightBlue" Visibility="{Binding Name}" Text="{Binding Path=Name}"/> </DataTemplate> </GroupStyle.HeaderTemplate> </GroupStyle> </telerik:RadListBox.GroupStyle> <telerik:RadListBox.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <StackPanel Margin="5" VerticalAlignment="Center"> <TextBlock FontWeight="Bold"><Run Text="{Binding FirstName, Mode=OneWay}" /> <Run Text="{Binding LastName, Mode=OneWay}" /></TextBlock> <TextBlock>Email: <Run Text="{Binding Email, Mode=OneWay}" /></TextBlock> <TextBlock>Phone: <Run Text="{Binding PhoneNumber, Mode=OneWay}" /></TextBlock> </StackPanel> </StackPanel> </DataTemplate> </telerik:RadListBox.ItemTemplate> </telerik:RadListBox> </DockPanel></Window>I have the following class
Class My Class
Class MyClass()
{
public int Var1 {get; set; }
public int Var2 {get; set; }
}i want the selected item to show {var1}/{var2}
for now im doing (for now) is
DisplayMemberPath = "Var1"
but because its a String and a Dependency property i cannot attach a MultiBinding
and RadMultiColumnComboBox does not have itemTemplate property
how can i achieve it
P.S
I want the same behavior for the tooltip
p.s 2
i also want to center the selected text but it seems HorizontalContentAlignment is not working
Thanks in advance

Hello Im Working with the RadSlider in the RadScheduler.
I've used the RadSlider_OnDragDelta Method to change the view definition. Works as intended atm.
But I've got a problem. If somebody just klicks on the slider (left or right of the Darg-Bar) to make the Bar hop on that spot, the event doesn't get fired.
So I've found several events if somebody drags the silider. But what if somebody just klick on the Slider?
Is there a event i can catch this behaviour?
best regards
Hy everyone,
I have a collection from DB:
var dynamicOutput = _sql.LoadData<dynamic, dynamic>(@"SELECT * FROM " + procedura.Trim() + "(@IdRamura, @DataRef)", p);
RaportRentabilitateGrid2.AddRange(dynamicOutput );
private ObservableRangeCollection<ExpandoObject> _raportRentabilitateGrid2 = new ObservableRangeCollection<ExpandoObject>();
public ObservableRangeCollection<ExpandoObject> RaportRentabilitateGrid2 {
get { return _raportRentabilitateGrid2; }
set {
_raportRentabilitateGrid2 = value;
OnPropertyChanged(nameof(RaportRentabilitateGrid2));
}
}
So far everything works ok
I have the RadGridView:
<telerik:RadGridView x:Name="oRaportRentabilitateDet1" DockPanel.Dock="Top"
Style="{StaticResource ContasGridviewStyle}"
Background="White"
AutoGenerateColumns="True"
SelectionUnit="FullRow"
SelectionMode="Single"
HorizontalContentAlignment="Left"
RowIndicatorVisibility="Collapsed"
ShowGroupPanel="False"
IsReadOnly="True"
SelectedItem="{Binding SelectedRaportRentabilitateGrid2,Mode=TwoWay}"
ItemsSource = "{Binding RaportRentabilitateGrid2, Mode=TwoWay}"
VerticalAlignment="Stretch"
Margin="5,0,5,10"
IsSynchronizedWithCurrentItem="True"
IsFilteringAllowed="False"
ScrollViewer.VerticalScrollBarVisibility="Auto"
ScrollViewer.HorizontalScrollBarVisibility="Auto">
And, for formatting the column in the RadGridView with the name DATA, i have the code:
var delaColumn = oRaportRentabilitateGrid2.Columns["DATA"] as Telerik.Windows.Controls.GridViewDataColumn;
delaColumn.DataFormatString = "dd.MM.yyyy";
But, it's not working...
I can't figure out why...
Thanks a lot.
Our application uses Telerik.Windows.Controls.RadDiagram to arrange RadDiagramItem instances on the screen. Our view model uses a higher resolution than 96x96. When I set RadDiagramItem.Width, for example, to 94.464, I can see in the debugger the framework accepts that value. However, when I execute the undo operation, I see RadDiagramItem.OnSizeChanged(Size newSize, Size oldSize) called, with oldSize = {94, ... }. This results in a rounding error in our view model.
Is there any way to put RadDiagram into a fractional pixel mode?
Dear Team,
I wanted to try the Radbarcodereader in WPF. I opened a new project with .Framework 4.7
and i just pulled out a Radbarcodereader to an empty WPF window.
Simply started the app, and browsed some random images with barcodes, but every time i push the "decode image" i get IndexOutOfRangeException from the control.
All propertises of the control are on default, what do i have to set up to make it work?
I have tried without control, only by code:
Private Sub Button_Click(sender As Object, e As RoutedEventArgs)
Dim imageSource = img_Camera.Source
Dim decoder As New BarcodeDecoder()
decoder.ImageSource = imageSource
AddHandler decoder.DecodingComplete, AddressOf OnDecodingComplete
decoder.StartDecoding()
End Sub
Private Sub OnDecodingComplete(ByVal sender As Object, ByVal e As DecodingEventArgs)
Dim decodeResult As String
If String.IsNullOrEmpty(e.ErrorMessage) Then
decodeResult = String.Format("Code Type: {0}" & ControlChars.Lf & "Result: {1}", e.CodeType, e.Result)
Else
decodeResult = e.ErrorMessage
End If
txt_RESULT.Text = decodeResult
End Sub
At this line: decoder.StartDecoding()
i also get the IndexOutOfRangeException
Please help :)
thanks
Peter B.