Telerik Forums
UI for WPF Forum
1 answer
95 views
Hello Telerik,

I am using rad drag drop control, when the selection mode is multiple for the list box, the behaviour is something like below:

if i want to select three items, 
-> click on first item, second item and third item

now when i am about to drag these items i will click on any one of the selected items and drag(a general windows user will expect this functionality to work fine). So when i click on item, the clicked item is getting deselected and as a result i am getting only two items in the payload of drag query.

the above functionality is a bit confusing for a normal windows user.
how can i get the drag functionality as "Control + Click" to select the items and "MouseLeftButtonDown + Drag" to drag the items (Similar as how we drag two or more folders in the file explorer of our windows(My Computer -> C:\))

Thanks,
Kranthi
Miroslav
Telerik team
 answered on 10 Oct 2009
3 answers
172 views

Hello,

When I put the RadTileView in a wpf UserControl I'm getting the following error message in the designer.

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()

Thanks much
Boots

Miroslav
Telerik team
 answered on 10 Oct 2009
7 answers
137 views
Every time I attempt to view the demo of the WPF Carousel object, I receive an Fatal Error with a massive message box, chock full of error text....any thoughts of how to fix this? I really to need to demo this control.
Jose Simas
Top achievements
Rank 2
 answered on 09 Oct 2009
2 answers
69 views

Hello All,

    This is an indirect bug that may not show up on the first time.  Basically, I have traced a "Dispatcher.VerifyAccess" violation to the FrameworkElementExtensions class.  This issue came about while my code was updating an ObservableCollection that the RadGridView.ItemsSource was bound to.  Since I can't intercept the update to the RadGridView, the "Dispatcher.CheckAccess()" would have to happen in the Telerik code.  So, either this check happens in the FrameworkElementExtensions class, or somewhere in the RadGridView class, say in the GridViewDataControl.OnCollectionViewCollectionChanged() method.

- Rashad Rivera
  omegusprime.com

Rashad Rivera
Top achievements
Rank 1
 answered on 09 Oct 2009
3 answers
125 views
Ok I have a cool idea but I don't know if I can pull it off...

I have a chart for a dashboard that displays metrics data in a stack for every day of the current week. 
I load all of the days of the week except for the current day using a query into an archive data warehouse table.
I pull the current days data from current tables.

This works well but my goal is to display this data on a dash console in the office and update the chart every 15 seconds.  
I only want to update the current day's bar though....  I don't want to refresh the whole control.

i.e.

if today is Tuesday I want to display Sat, Sun, Mon, Tue values but I want to refresh Tue every 15 seconds and only re-paint the bars for Tuesday.

Is this possible?
Thanks,
Tim
Velin
Telerik team
 answered on 09 Oct 2009
6 answers
280 views
Can you shed any light on what would cause this issue? Typically, it will happen when I group or when I try to sort on a column.

I'm using the grid to display a set of search results, 10 columns in total. There will be duplicate values in some columns as some identifiers (customer / transaction IDs, etc) may appear multiple times. The grid is bound via MVVM to an ObservableCollection of objects via the DataContext. The columns are set up as attributes of those objects on first bind of the DataContext.

The data comes up fine on first load; then has issues when we sort or group.
Hristo
Telerik team
 answered on 09 Oct 2009
1 answer
91 views
I cannot see any way of selecting multiple items programmatically only single items. I am asking as I have a need to automatically refresh the grid but keep a users selections that they may be working on at the time.
Milan
Telerik team
 answered on 09 Oct 2009
1 answer
93 views
Any plans to allow floating panels to move outside the bounds of the main window?

-Terry
Kaloyan
Telerik team
 answered on 09 Oct 2009
1 answer
206 views

Is there a way, in XAML, to cause the tab item headers to stretch across the width of the tab control.

For example, I have three tabs, red, blue and green. I have a tab control with it's width set to auto, the tab headers will only fill up part of the space above the tab content, I want them to fill up all the space.

More specifically if I have 4 tabs I want last tab to take up the remaing   space.

Dimitrina
Telerik team
 answered on 09 Oct 2009
2 answers
97 views
Hello again,

I have another anoying bug in the GridView! With the following grid's XAML code:

<telerik:RadGridView Grid.Row="1" Margin="0,5,0,5" Name="rgvAdministrativeAgent" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" SelectionChanged="rgvAdministrativeAgent_SelectionChanged" AutoGenerateColumns="False" RowEditEnded="rgvAdministrativeAgent_RowEditEnded" ValidationMode="Row">  
    <telerik:RadGridView.Columns> 
        <telerik:GridViewDataColumn Header="Name" DataMemberPath="Name" /> 
        <telerik:GridViewDataColumn Header="Abbreviation" DataMemberPath="Abbreviation"  /> 
    </telerik:RadGridView.Columns> 
</telerik:RadGridView> 

When I start editing a row, everything is fine until I hit the "enter" key!

Then, the RowEditEnded event is launched as expected but when it ends, the row stay in edit mode! As long as I use the "enter" key, it will stop the edition mode and worse: it will relaunch each time the RowEditEnded event with a strange behavior because de e.newData stays the same as the first time the event was launched (even if data was modified before hitting "enter" key).

The only way to get out of this is to click anywhere else (wich launches also the RowEditEnded).

I don't know if it is normal, but I would expect the grid to stop editing the row when hitting "enter".
Is there any workaround?

Thanks,

Daniel
Daniel Nevers
Top achievements
Rank 1
 answered on 09 Oct 2009
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
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
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?