Telerik Forums
UI for WPF Forum
1 answer
230 views

I'd like to place additional content to *left* of a standard, top/left aligned set of tabs. I know that RadTabControl offers an AdditionalContent property, which allows me to specify the necessary content, but it always places that content on the far-right edge of the tab strip. How can I shift that to the left edge of the tab strip?

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Jul 2017
3 answers
133 views

Hello,

When I use RadScheduleView in visual studio designer, the following exception appears and I cannot visualize control at design-time:

(Note all is fine at runtime).

NullReferenceException: Object reference not set to an instance of an object.

StackTrace:

at Telerik.Windows.Controls.ScheduleView.AppointmentExtensions.GetOccurrences(IAppointment appointment, DateTime from, DateTime to)
   at Telerik.Windows.Controls.DateGroupDescription.GroupNameFromItem(Object item, Int32 level, CultureInfo culture)
   at MS.Internal.Data.CollectionViewGroupRoot.AddToSubgroups(Object item, LiveShapingItem lsi, CollectionViewGroupInternal group, Int32 level, Boolean loading)
   at System.Windows.Data.ListCollectionView.PrepareGroups()
   at System.Windows.Data.ListCollectionView.PrepareLocalArray()
   at System.Windows.Data.ListCollectionView.RefreshOverride()
   at System.Windows.Data.CollectionView.RefreshInternal()
   at System.Windows.Data.CollectionView.Refresh()
   at System.Windows.Data.CollectionView.EndDefer()
   at System.Windows.Data.CollectionView.DeferHelper.Dispose()
   at Telerik.Windows.Controls.ScheduleView.ScheduleViewDataConnection.SetGroupingAndFiltering(IEnumerable`1 groupDescriptions)
   at Telerik.Windows.Controls.ScheduleViewBase.RegenerateGroupHeaders()
   at Telerik.Windows.Controls.ScheduleViewBase.OnAppointmentSourceChanged(IEnumerable oldValue, IEnumerable newValue)
   at Telerik.Windows.Controls.ScheduleViewBase.UpdateScheduleViewOnAppointmentSourceChanged(IEnumerable oldValue, IEnumerable newValue)
   at Telerik.Windows.Controls.ScheduleViewBase.OnAppointmentsSourceChanged(DependencyObject d, 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, Boolean coerceWithCurrentValue, OperationType operationType)
   at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
   at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
   at System.Windows.Data.BindingExpression.Activate(Object item)
   at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
   at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
   at MS.Internal.Data.DataBindEngine.Run(Object arg)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 nu

 

Any Idea ? Tanks a lot !

Kalin
Telerik team
 answered on 04 Jul 2017
1 answer
190 views

When I select multiple shapes in my RadDiagram and execute the Delete command, I expect two events to fire: 

RadDiagram.ItemsChanging and RadDiagram.ItemsChanged.

In each event, I expect e.OldItems to contain all shapes that are being deleted.

Instead, I get individual event: first ItemsChanging and then ItemsChanged for every individual item in my selection. e.OldItems contains a single object every time.

Is this expected behavior? If not, what might I be doing wrong? Getting the shapes in individual events is bad because it doesn't allow me to prioritize the order in which I operate on each shapes. And because ItemsChanging and ItemsChanged fire for each shape until the next one happens, I can't easily cache all the changing items and THEN operate on the whole collection, either.

Dilyan Traykov
Telerik team
 answered on 04 Jul 2017
1 answer
235 views

HI ,

I am using property grid with multiple sections. I would like to sort the categories with my preference (not alphabetically or not default). How can i do it?

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Jul 2017
1 answer
159 views

Hi,

I would like to define shifts which would start from noon (12pm-12pm), so basically 1 shift would be part in one day, and part in outer day, (minimum shift/appointment duration should be 24h) but would also like to preserve regular day header above it. Please take a look at the screenshot attached. It explains it much better than I could explain it. Is it possible to achieve something like this?

 

Thank you for you help!

Martin Ivanov
Telerik team
 answered on 04 Jul 2017
2 answers
166 views

Hello, please tell me what I'm doing wrong or is this a bug in the system? When I load a diagram, and then save, the save goes with the changes.

                 RadDiagram diagram = new RadDiagram();
                    diagram.Clear();
                    diagram.Load(Globals.Project.ComponentPlacements.Logic);
                    Globals.Project.ComponentPlacements.Logic = diagram.Save().

 

Svyatoslav
Top achievements
Rank 1
 answered on 04 Jul 2017
9 answers
130 views

I'm handling the ColumnWidthChanged event and saving the width of each column in a config file for reuse the next time my application is run. If I drag the column to a different size the NewWidth property is the actual width I've chosen. If I double-click the column edge to auto-size it, the NewWidth property is set to "Auto" and the value is "1".

Why can't I see what the actual new width is? My gut says this is counter-intuitive, but Telerik generally has a good reason for this sort of thing.

Any input as to how I can get the actual width so I can save it?

Yoan
Telerik team
 answered on 04 Jul 2017
5 answers
280 views

Hello,

 

I have an issue with snap to grid and resizing. Consider SnapX and Snap Y  is set to 20 and Grid Cell Size is set to 20 as well. Then add a rectangle Shape and set its position to 23 and 23 while snap to grid is enabled try to enlarge the shape from bottom right corner. The shape width and height will increment by 20 so the width and height become 43 and 43 instead of 40 and 40 which are the grid lines position.

Am I missing something here ?

Thanks,

Bruno
Top achievements
Rank 1
 answered on 03 Jul 2017
2 answers
125 views
Bug: RadTabControl does not scroll only a single item but the entire collection when ScrollMode="Item" and TabStripPlacement="Left". Is there a known workaround for this?
Dinko | Tech Support Engineer
Telerik team
 answered on 03 Jul 2017
2 answers
155 views
I have a RadHeatMap that takes about 10 seconds to render  700,000 data points.  I have a RadBusyIndicator to show that the data is being loaded.  Is there an event or some way to tell when the data is finished binding and the heatmap has finished rendering so i can change the busy property of the RadBusyIndicator?  
Rihana
Top achievements
Rank 1
 answered on 03 Jul 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?