Is there some kind of property on the RadGridView that will make it scroll to the bottom of the list when a new record is added? I'm binding the "ItemsSource" to an ObservableCollection. Then, in my ViewModel, I'm adding rows. I'd like the grid to scroll to the bottom automatically, rather than requiring me to add the record and then execute a "ScrollToEnd" on the "GridViewScrollViewer". If there is no such property, what would be the best event to tie into to make this happen (i.e. so that I could contain this code to the View rather than contaminate my ViewModel)? Yes, I could also add an event handler to the CollectionChanged of the ObservableCollection, but that that feels redundant somehow. (Also, from my testing, it leaves the grid one row behind, since it fires before the row is actually rendered to the grid.)
Thanks!
Brad.
Hi,
I created a form that has RadMaskedTextInput, CheckBox and PasswordBox.
I am using noxaml binaries and added styles for native wpf windows controls this way:
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source=
"pack://application:,,,/Telerik.Windows.Themes.Windows8;component/Themes/System.Windows.xaml"
/>
<ResourceDictionary Source=
"pack://application:,,,/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.xaml"
/>
<ResourceDictionary Source=
"pack://application:,,,/Telerik.Windows.Themes.Windows8;component/Themes/Telerik.Windows.Controls.Input.xaml"
/>
<ResourceDictionary Source=
"Resources/CommonStyles.xaml"
/>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
CheckBox is styled correctly. Unfortunately PasswordBox is not. It has smaller height and a border that looks strange. See Image here:
Is there a better way than setting form, removing border ?
Thanks,
Ćukasz
1.
<
Style
TargetType
=
"PasswordBox"
BasedOn
=
"{StaticResource PasswordBoxStyle}"
>
2.
<
Setter
Property
=
"Validation.ErrorTemplate"
Value
=
"{StaticResource ErrorTemplateStyle}"
/>
3.
</
Style
>
But the two templates are displayed.
Why ?
PS : It works for other control like RadWatermarkTextBox but not for MS controls.
Best regards,
Geoffrey
hello, i have a problem with my project.
i am using 2013 version of telerik,
i have a RadGridView with about 40-50 records , which spread across 2-3 pages.
i want to sort them by a column, but due to lazy loading it sorts only the specific page i am in.
i have tried to disable lazy loading by using the command EnableRowVirtualization="false", but without success.
does any newer version have a solution to this problem, or any other solution?
thank you very much,
elad.
I'm trying to build out some functionality that will allow users to enter in multiple filters and then once they have entered in all of their filters, they can click button and execute complete set of filters.
I'm trying to do this by calling grid's FilterDescriptors.SuspendNotifications() (via a checkbox checked event) and SuspendNotifications on all of the individual columns ColumnFilterDescriptor.
Once the user has entered in their filters, I want to allow them to uncheck the check box, which calls the gird's FilterDescriptors.ResumeNotifications() and ResumeNotifications on all of the individual columns ColumnFilterDescriptor.
What I'm seeing in my sample project is that everything works as expected when the application starts up. I enter in a few filters, I uncheck the suspend check box, and the data is fitlered, correctly.
When I re-check the suspend check box, I can go and delete values and the UI updates (Not what I expected since all notifications were suspended).
Any suggestions or ideas? Am I missing something obvious? In my attached screenshot, I expected 3 rows of data, not one since filtering was suspended.
Thanks,
Cyrus
Hello,
i was looking for a multi-column combobox control for wpf but i couldn't fine one.
I saw that you made on for winform once (as shown in attached file)
Do you have the same for WPF or can you provide a sample of how to do this with WPF?
Hello,
I'm using RadDiagram and i have validation rules for create link depend of connector source, connector target, shape source and shape target.
I find a way to do that with ConnectionManipulationCompleted and it works but i want do that verification during the creation, change cursor when the rules aren't valid.
There is no ConnectionManipulating event as Dragging in DraggingService and i didn't find a connectionService that give me this kind of event
I want to do the same thing than http://www.telerik.com/forums/dynamic-validation but i think i miss something
Can someone help me please?
Thank you in advance.
I've been going at this for 2 hours. I don't understand why it's so hard to display a simple RadWindow.
PreferencesView.xamlâ
<
telerik:RadWindow
x:Class
=
"MainWindow.Preferences.PreferencesView"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:local
=
"clr-namespace:MainWindow.Preferences"
mc:Ignorable
=
"d"
Height
=
"350"
Width
=
"300"
>
<
DockPanel
Margin
=
"10"
>
<
StackPanel
DockPanel.Dock
=
"Bottom"
Orientation
=
"Horizontal"
VerticalAlignment
=
"Bottom"
HorizontalAlignment
=
"Right"
>
<
telerik:RadButton
Content
=
"OK"
/>
<
telerik:RadButton
Content
=
"Cancel"
Margin
=
"5,0,0,0"
/>
</
StackPanel
>
</
DockPanel
>
</
telerik:RadWindow
>
Caller
PreferencesView preferencesView = new PreferencesView();
preferencesView.ResizeMode = ResizeMode.NoResize;
preferencesView.WindowStartupLocation = WindowStartupLocation.CenterOwner;
preferencesView.Owner = this;
preferencesView.ShowDialog();
The RadWindow seems to exist because I can show its system menu with Alt-Space. For some reason, I only see a think frame of the RadWindow and its entire content is blank. I do use a global theme that I've set in App.xaml and my MainWindow uses it fine.
What am I doing wrong?
Hi,
I just install UI for WPF Q3_sp1 on a clean Windows 10 machine with VS2015 installed.
The setup option "Blend Toolbox Items" is marked with an X (not available).
When I enter "customize" it's not visible in the tree.
Am I missing something or is Blend for VS2015 not supported?
Regards
Manfred