Telerik Forums
UI for WPF Forum
3 answers
261 views

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.

Maya
Telerik team
 answered on 11 Dec 2015
1 answer
293 views

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

Petya
Telerik team
 answered on 10 Dec 2015
1 answer
395 views

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?

Nasko
Telerik team
 answered on 10 Dec 2015
4 answers
216 views

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.

Geoffrey
Top achievements
Rank 1
 answered on 09 Dec 2015
7 answers
670 views

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: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?

Gianpaolo
Top achievements
Rank 1
 answered on 09 Dec 2015
1 answer
328 views

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

Dyanko
Telerik team
 answered on 09 Dec 2015
4 answers
349 views

Hi,

 Since UI WPF Q3 2015, I notice change in the GridView column auto size. I have the following simple user control (with no height and width) :

 

<UserControl x:Class="WpfApplication1.UserControl1"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:WpfApplication1"
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <telerik:RadGridView AutoGenerateColumns="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="Name" Width="150"/>
                <telerik:GridViewDataColumn Header="Description" Width="*"/>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</UserControl>

In my MainWindow I have a button which show a RadWindow with the UserControl content :

private void OnClick(object sender, RoutedEventArgs e)
{
    RadWindow window = new RadWindow();
    window.SizeToContent = true;
    window.Content = new UserControl1();
    window.SizeChanged += delegate
    {
        window.Header = string.Format("({0}, {1})", window.Height, window.Width);
    };
    window.ShowDialog();
}

In Telerik 2015.2.728.45, the RadWindow size is correct (like i expect in fact). In Telerik 2015.3.* the gridcolumn with Width="*" take all width possible (infinite?) and radwindow Width become infinite.

 

What's the correct behavior ? Telerik 2015.2 or 2015.3 ? Do I need to set the UserControl size ? (I prefer to avoid this solution like my real application is more complex and expect to have an UserControl resize from its content).

Thanks

Regards

Luc

Luc
Top achievements
Rank 1
 answered on 09 Dec 2015
3 answers
197 views
    Is it possible to reset the layout of a wpf control at runtime. My scenario is that if I add a column to a persisted grid view the user will not be able to see it unless they delete their settings. Is there a way to reset to the default layout during runtime?
Kiril Vandov
Telerik team
 answered on 09 Dec 2015
1 answer
415 views

Hi,

I currently have a problem applying a bound size to the HeaderCellStyle.FontSize

Our operators have the possibility to set the text size to what they need.

I would like to have it bound like the FontSize for the GridCells in the following code snippet:

 

FontSize="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type lisaGridControl:LisaGridControl}}, Path=SettingsModel.GeneralSettings.FontSize, Mode=TwoWay}"

 

 

The proplem is that I can only find static solutions like:

<Style x:Key="GridHeaderCellStyle" TargetType="{x:Type telerik:GridViewHeaderCell}">
    <Setter Property="Foreground" Value="Black" />
    <Setter Property="FontSize" Value="16" />
    <Setter Property="FontWeight" Value="Normal" />
    <Setter Property="FontStyle" Value="Normal" />
</Style>
 

Additionally my columns are created in code behind and I have no column definition in xaml.

For example the DisplayText for the header is bound as follows:

var bindingHeader = new Binding("DisplayText") { Source = column, ValidatesOnDataErrors = false, Mode = BindingMode.OneWay };
 if (column.GridColumn == null)
{
  throw new Exception("column.GridColumn(" + column.DisplayText + ")==null");
}
 
column.GridColumn.SetBinding(GridViewColumn.HeaderProperty, bindingHeader);
 

Thanks for any suggestions

 

Best regards

 

Thomas Voß

 

 

 

 

 

 

Stefan
Telerik team
 answered on 09 Dec 2015
49 answers
912 views

Hi guys!

I installed the new Visual Studio 2015, and created a new Telerik WPF project with reference to Telerik.Windows.Controls, Telerik.Windows.Controls.GridView, Telerik.Windows.Controls.Navaigation etc.

I'm using implicit styles.

Now I want add some Telerik control, but the IntelliSense is not working!

<Window x:Class="TestWithNavigation.MainWindow"
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                Title="MainWindow" Height="350" Width="525">
        <Grid>
                <telerik:        ***** The IntelliSense NOT WORKING ********
        </Grid>
</Window>
 

If I drop the reference to Telerik.Windows.Controls.Navigation, it's working well.

Is it a bug? is there a way to resolve it?

Thanks , Yehudah

Petar Mladenov
Telerik team
 answered on 09 Dec 2015
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
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?