Telerik Forums
UI for WPF Forum
2 answers
71 views
Hi..
I have a grid that uses the exact code as the 'Grid View' Search as type example. If I add a Boolean column the search / filter no longer works.
Jon
Top achievements
Rank 1
 answered on 11 Mar 2010
1 answer
97 views
I am having an error when I combine the WPF demonstration examples labeled "Context Menu for header cells" and "Save and Load grid settings".  The context menu in the header cells does not appear after you have saved the grid settings and come back to the grid.

Anyone know of an example that combines the above, two examples, successfully? 

Thank you.
Tsvyatko
Telerik team
 answered on 11 Mar 2010
1 answer
86 views
Hi,
DevEx has a nice feature called Expression columns for their grid with expression editor. One can use the expression editor to create an expression for a column run time.
Is there anything like that available for RadGridView either in Beta or in the current release version?
thanks
Nick
Hristo
Telerik team
 answered on 11 Mar 2010
2 answers
151 views
Hi,

when hitting return/enter after editing the DateTimePicker's value (its actually enough when it gets keyboard-focus) a System.NullReferenceException is thrown.
repro-code:
namespace RadGridViewFocusBug 
    /// <summary> 
    /// Interaction logic for Window1.xaml 
    /// </summary> 
    public partial class Window1 : Window 
    { 
        public Window1() 
        { 
            InitializeComponent(); 
 
            ObservableCollection<BusinessObject> col = new ObservableCollection<BusinessObject>(); 
            col.Add(new BusinessObject() { Arrival = DateTime.Now }); 
            col.Add(new BusinessObject() { Arrival = DateTime.Now }); 
            col.Add(new BusinessObject() { Arrival = DateTime.Now }); 
 
            this.DataContext = col
        } 
    } 
 
    public class BusinessObject 
    { 
        public DateTime Arrival { get; set; } 
    } 

<Window x:Class="RadGridViewFocusBug.Window1" 
    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="Window1" Height="300" Width="300"
    <Grid> 
        <telerik:RadGridView ItemsSource="{Binding}" AutoGenerateColumns="False"
            <telerik:RadGridView.Columns> 
                <telerik:GridViewDataColumn Header="Arrival" > 
                    <telerik:GridViewColumn.CellTemplate> 
                        <DataTemplate> 
                            <telerik:DateTimePicker SelectedDateTime="{Binding Path=Arrival, Mode=TwoWay}"/> 
                        </DataTemplate> 
                    </telerik:GridViewColumn.CellTemplate> 
                </telerik:GridViewDataColumn> 
            </telerik:RadGridView.Columns> 
        </telerik:RadGridView> 
    </Grid> 
</Window> 

Best Regards
Steffen
Steffen
Top achievements
Rank 1
Veteran
 answered on 11 Mar 2010
1 answer
141 views
I've just purchased the WPF components and am very impressed with the level of functionality having previously built a project using the straight Microsoft Components . One of the important requirements for our next project is the ability to drag and drop items from a ListBox to a Treeview.  Each of these components are located in separate UserControls. I have been successful in drag and dropping within the same Treeview and from the Listbox to the GridView but cannot seem to get  the ListBox to Treeview working. I am sure I am missing something basic or are there any limitations in dragging from a Listbox in one UserControl to a Treeview in another .Hope you can help

Tina Stancheva
Telerik team
 answered on 11 Mar 2010
9 answers
847 views
Hi,
how to change the label in  RadGridView "Drag a Column header and drop it here to group by that colunm" ?

Thanks.
Marco
Pavel Pavlov
Telerik team
 answered on 11 Mar 2010
1 answer
68 views
I company I was consulting to asked me to install the Telerik controls for WPF.  A consultant had purchased it for them but had not did any work with it.  Not sure if this is a good copy but with the way the eval is going there is little hope that the library will stay installed for very long.

I see a posting about how to do coverflow and a zip file with source.  When I copy the XAML to my window what do I see????

Error indicating that the XAML is not correct.  And when I went to find the error CTL-F, well my VS 2008 install is now screwed up.  No more CTL-F.  No more CTL-H.

Beyond that the sample given uses BringDataItemIntoView which does not work.

Since you only get one chance to make a first impression that is gone.

Stefan Dobrev
Telerik team
 answered on 11 Mar 2010
1 answer
131 views
The Silverlight Q1 2010 installer included a nice Themes project that allowed easy access to the different themes.  This is great for creating custom themes using a Telerik theme as a starting point.

How can I get the themes for the WPF controls?
Kalin Milanov
Telerik team
 answered on 11 Mar 2010
1 answer
136 views
Hi,
I am facing problem with my tree control, that i collapse the tree and dragged an item below the tree i.e. on blank part of the tree, it show the drag drop tooltip and drop preview line on the blank part of tree. It seems that items are not collapsing properly. i captured the collapse event and calling the tree item's collapseAll method but the problem still persist.
i unable to find the reason.

Thanks
Balaram Barange
Vladislav
Telerik team
 answered on 11 Mar 2010
3 answers
220 views
Hi. I placed a TileView control in my XAML page, and it compiles fine and I can see the control at design time. However, when the page loads at runtime, I get the exception follwoing exception:

Object reference not set to an instance of an object.

at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.FindRootVisual() at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.Initialize() at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.OnAllowDragChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, OperationType operationType) at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) at Telerik.Windows.Controls.DragDrop.RadDragAndDropManager.SetAllowDrag(DependencyObject obj, Boolean value) at Telerik.Windows.Controls.RadTileViewItem.OnApplyTemplate() at System.Windows.FrameworkElement.ApplyTemplate() at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Canvas.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) at System.Windows.Controls.ItemsPresenter.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Control.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Border.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Control.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Designer.SimpleViewManager.DesignerBackground.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Decorator.MeasureOverride(Size constraint) at Microsoft.Windows.Design.Interaction.DesignerView.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Designer.Viewport.MeasureOverride(Size availableSize) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) at System.Windows.Controls.ScrollContentPresenter.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureCell(Int32 cell, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureCellsGroup(Int32 cellsHead, Size referenceSize, Boolean ignoreDesiredSizeU, Boolean forceInfinityV) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.ScrollViewer.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Grid.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at MS.Internal.Helper.MeasureElementWithSingleChild(UIElement element, Size constraint) at System.Windows.Controls.ContentPresenter.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Controls.Control.MeasureOverride(Size constraint) at System.Windows.FrameworkElement.MeasureCore(Size availableSize) at System.Windows.UIElement.Measure(Size availableSize) at System.Windows.Interop.HwndSource.SetLayoutSize() at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) at System.Windows.Interop.HwndSource.set_RootVisual(Visual value) at MS.Internal.Designer.VSIsolatedDesigner.ViewHolder.Initialize() at MS.Internal.Designer.VSIsolatedDesigner.ViewHolder..ctor(UIElement content) at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.get_ViewHandle() at MS.Internal.Host.Isolation.IsolatedView.get_ViewHandle() at MS.Internal.Designer.DesignerPane.LoadDesignerView()

My TileView's XAML is this:




<NavigationControls:RadTileView Grid.ColumnSpan="4" Name="radTileView1" Grid.Row="1" 
                                Margin="5" Width="800" Height="450" MinimizedColumnWidth="150"
    <NavigationControls:RadTileViewItem> 
        <NavigationControls:RadTileViewItem.Header> 
            <TextBlock Text="Vehículo header"></TextBlock> 
        </NavigationControls:RadTileViewItem.Header> 
        <NavigationControls:RadTileViewItem.Content> 
            <Controls:RadFluidContentControl AnimationControls:AnimationManager.IsAnimationEnabled="True" 
                                             SmallToNormalThreshold="291,130" 
                                             NormalToSmallThreshold="292,131" 
                                             NormalToLargeThreshold="735,350" 
                                             LargeToNormalThreshold="731,351"
                <Controls:RadFluidContentControl.SmallContent> 
                    <TextBlock Text="Vehículo small"></TextBlock> 
                </Controls:RadFluidContentControl.SmallContent> 
                <Controls:RadFluidContentControl.Content> 
                    <TextBlock Text="Vehículo content"></TextBlock> 
                </Controls:RadFluidContentControl.Content> 
                <Controls:RadFluidContentControl.LargeContent> 
                    <TextBlock Text="Vehículo large"></TextBlock> 
                </Controls:RadFluidContentControl.LargeContent> 
            </Controls:RadFluidContentControl> 
        </NavigationControls:RadTileViewItem.Content> 
    </NavigationControls:RadTileViewItem> 
    <NavigationControls:RadTileViewItem> 
        <NavigationControls:RadTileViewItem.Header> 
            <TextBlock Text="Empresa header"></TextBlock> 
        </NavigationControls:RadTileViewItem.Header> 
        <NavigationControls:RadTileViewItem.Content> 
            <Controls:RadFluidContentControl AnimationControls:AnimationManager.IsAnimationEnabled="True" 
                                             SmallToNormalThreshold="291,130" 
                                             NormalToSmallThreshold="292,131" 
                                             NormalToLargeThreshold="735,350" 
                                             LargeToNormalThreshold="731,351"
                <Controls:RadFluidContentControl.SmallContent> 
                    <TextBlock Text="Empresa small"></TextBlock> 
                </Controls:RadFluidContentControl.SmallContent> 
                <Controls:RadFluidContentControl.Content> 
                    <TextBlock Text="Empresa content"></TextBlock> 
                </Controls:RadFluidContentControl.Content> 
                <Controls:RadFluidContentControl.LargeContent> 
                    <TextBlock Text="Empresa large"></TextBlock> 
                </Controls:RadFluidContentControl.LargeContent> 
            </Controls:RadFluidContentControl> 
        </NavigationControls:RadTileViewItem.Content> 
    </NavigationControls:RadTileViewItem> 
</NavigationControls:RadTileView> 

Could there be anything I'm missing? Thanks.
Tihomir Petkov
Telerik team
 answered on 11 Mar 2010
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?