Telerik Forums
UI for WPF Forum
2 answers
171 views
I'm a new chart user, testing out the trial to see if it'll meet our needs.  So hopfully this is a simple question.  I'm in a c# WPF MVVM application.  I have a StackedBar series and a RanageBar series programatically defined and bound via my xaml.  Right now the two different series show up side-by-side in the chart.  I'd like them to basically be overlayed on top of one another.  Is there an easy way yo do this?  Thx

Todd
Top achievements
Rank 1
 answered on 28 Mar 2015
3 answers
58 views
Hi,

Except for the first and the last day off the timeline range, the DayStartTime and DayEndTime properties have no effect in TimelineView.
This issue is known and approved here in your feedback portal, but I could not find any hint of a release date.

Is this feature on your roadmap for 2015?

This feature is vastly asked for among our customers and they often complain about the timeline view being quite useless as it is now.
Kalin
Telerik team
 answered on 27 Mar 2015
3 answers
92 views
Hello,

I just noticed that all cells of a row are updated if any property of the ViewModel changes.
Is there any way to stop this?

In my opinion, there should be a dictionary which indicates which cells have to update if a certain property changes.

Alex
Stefan
Telerik team
 answered on 27 Mar 2015
4 answers
141 views
I have a RadDropDownButton whose DropDownContent is a RadContextMenu.

In the first RadMenuItem ("New Project") inside the RadContextMenu I have various input controls.

I can't get tabbing between these input controls to work at all. With focus on one textbox or combobox, pressing the tab key does nothing. (Before I set IsTabStop="false" on all the RadMenuItems, this would result in tabbing through the RadMenuItems, which I didn't want).

Here's the code:
<telerik:RadDropDownButton Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,5,25,0" Content="Actions" Width="100">
     <telerik:RadDropDownButton.DropDownContent>
 
         <telerik:RadContextMenu HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top">
             <telerik:RadMenuItem Header="New Project" IsTabStop="False">
                 <Grid Width="300">
                     <Grid.ColumnDefinitions>
                         <ColumnDefinition Width="Auto"/>
                         <ColumnDefinition Width="*"/>
                     </Grid.ColumnDefinitions>
                     <Grid.RowDefinitions>
                         <RowDefinition Height="25"/>
                         <RowDefinition Height="25"/>
                         <RowDefinition Height="25"/>
                         <RowDefinition Height="25"/>
                         <RowDefinition Height="25"/>
                         <RowDefinition Height="25"/>
                         <RowDefinition Height="*"/>
                     </Grid.RowDefinitions>
 
                     <TextBlock Text="Project No:" Grid.Row="0" Grid.Column="0" Margin="0,2,5,0" />
                     <TextBox Name="newProjectNo"
                              Grid.Row="0" Grid.Column="1"
                              HorizontalAlignment="Left"
                              Width="100"
                              Margin="0,2,0,2"
                              TabIndex="1"
                              IsTabStop="True"
                              VerticalAlignment="Top"></TextBox>
 
                     <TextBlock Text="Applicant:" Grid.Row="1" Grid.Column="0" Margin="0,2,5,0" />
                     <telerik:RadAutoCompleteBox Name="newMuniCode"
                                                 Grid.Row="1" Grid.Column="1"
                                                 HorizontalAlignment="Left"
                                                 Margin="0,2,0,0"
                                                 TabIndex="2"
                                                 IsTabStop="True"
                                                 Width="200"
                                                 VerticalAlignment="Top"/>
 
                     <TextBlock Text="Project Engineer:" Grid.Row="2" Grid.Column="0" Margin="0,2,5,0" />
                     <telerik:RadComboBox x:Name="ProjectEngineerSelection"
                                          Grid.Row="2" Grid.Column="1"
                                          Margin="0,2,0,0"
                                          TabIndex="3"
                                          IsTabStop="True"
                                          ClearSelectionButtonVisibility="Visible"
                                          ClearSelectionButtonContent="Show all"
                                          DisplayMemberPath="DisplayName"
                                          ItemsSource="{Binding ProjectEngineers}"
                                          SelectedItem="{Binding SelectedEngineer, Mode=TwoWay}" />
 
                     <TextBlock Text="Project Manager:" Grid.Row="3" Grid.Column="0" Margin="0,2,5,0" />
                     <telerik:RadComboBox x:Name="ProjectManagerSelection"
                                          Grid.Row="3" Grid.Column="1"
                                          Margin="0,2,0,0"
                                          TabIndex="4"
                                          IsTabStop="True"
                                          ClearSelectionButtonVisibility="Visible"
                                          ClearSelectionButtonContent="Show all"
                                          DisplayMemberPath="DisplayName"
                                          ItemsSource="{Binding ProjectManagers}"
                                          SelectedItem="{Binding SelectedManager, Mode=TwoWay}" />
 
                     <TextBlock Text="NYC Project?" Grid.Row="4" Grid.Column="0" Margin="0,2,5,0" />
                     <CheckBox x:Name="NycProjectCheckBox" 
                               Grid.Row="4" Grid.Column="1"
                               Margin="0,2,0,0"
                               IsTabStop="True"
                               TabIndex="5" />
 
                     <TextBlock Text="NYC Service Area:" Grid.Row="5" Grid.Column="0" Margin="0,2,5,0" />
                     <telerik:RadComboBox x:Name="NycServiceAreaSelection"
                                          Grid.Row="5" Grid.Column="1"
                                          Margin="0,2,0,0"
                                          TabIndex="6"
                                          IsTabStop="True"
                                          IsEnabled="{Binding IsChecked, ElementName=NycProjectCheckBox }"
                                          ClearSelectionButtonVisibility="Visible"
                                          ClearSelectionButtonContent="Show all"
                                          DisplayMemberPath="DisplayName"
                                          ItemsSource="{Binding NycServiceAreas}"
                                          SelectedItem="{Binding SelectedNycServiceArea, Mode=TwoWay}" />
 
                     <telerik:RadButton Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="2"  Content="Create Project"
                                        HorizontalAlignment="Center"
                                        Height="Auto"
                                        Margin="0,10,0,0"
                                        VerticalAlignment="Top"
                                        TabIndex="7"
                                        IsTabStop="True"
                                        Width="100"
                                        Command="" />
 
                 </Grid>
             </telerik:RadMenuItem>
 
             <telerik:RadMenuItem Header="Copy Project" IsTabStop="False">
                 <Grid Width="200">
                     <Grid.ColumnDefinitions>
                         <ColumnDefinition Width="Auto"/>
                         <ColumnDefinition Width="*"/>
                     </Grid.ColumnDefinitions>
                     <Grid.RowDefinitions>
                         <RowDefinition Height="25"/>
                         <RowDefinition Height="*"/>
                     </Grid.RowDefinitions>
 
                     <TextBlock Text="New Project No:" Grid.Row="0" Grid.Column="0" Margin="0,2,5,0" />
                     <telerik:RadMaskedTextInput Name="copyProjectNo"
                                                 Grid.Row="0" Grid.Column="1"
                                                 Mask="0000-00-00"
                                                 HorizontalAlignment="Left"
                                                 Margin="0,0,0,0"
                                                 VerticalAlignment="Top"/>
 
                     <telerik:RadButton Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2"  Content="Copy Project"
                                        HorizontalAlignment="Center"
                                        Height="Auto"
                                        Margin="0,10,0,0"
                                        VerticalAlignment="Top"
                                        Width="100"
                                        Command="" />
                 </Grid>
             </telerik:RadMenuItem>
 
             <!--<telerik:RadMenuItem Header="{Binding CurrentHeader}"-->
             <telerik:RadMenuItem IsTabStop="False" Header="Cost Increase"
                 IsEnabled="{Binding CurrentProjectIsNyc}"
                                  Command="">
             </telerik:RadMenuItem>
 
             <telerik:RadMenuItem IsTabStop="False" Header="99 Project"
                                  IsEnabled="{Binding CurrentProjectIsNyc}"
                                  Command="">
             </telerik:RadMenuItem>
         </telerik:RadContextMenu>
 
     </telerik:RadDropDownButton.DropDownContent>
 </telerik:RadDropDownButton>

Thanks,

Greg
David
Top achievements
Rank 1
 answered on 27 Mar 2015
1 answer
183 views
I am inserting a hyperlink just before full stop in Arabic language and the hyperlink causes words to jumble up. Here is the html which I import from the file. When I insert Hyperlin by selectiong the text near the '.' the text gets jumbled. Screenshot is attached
............................................................................................................................................................................

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled</title><style type="text/css">
p { margin-top: 0px;margin-bottom: 12px;line-height: 1.15; }
body { font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 16px; }
.Normal { telerik-style-type: paragraph;telerik-style-name: Normal;border-collapse: collapse; }
.TableNormal { telerik-style-type: table;telerik-style-name: TableNormal;border-collapse: collapse; }
.p_4FB91091 { telerik-style-type: local;direction: rtl; } </style></head><body><p dir="RTL" class="Normal p_4FB91091"><span dir="RTL">منيب يبنت هيع سش ؤىةىؤلاؤضخخ.</span></p></body></html>

....................................................................................................................................................................................
Tanya
Telerik team
 answered on 27 Mar 2015
5 answers
214 views
Hi,

I'm experiencing crash in my RadCartesianChart. I have a databound grid showing the source data, I also have a RadCartesianChart with a ScatterLineSeries showing a graphical representation of this data. The ScatterLineSeries I create and add to the chart in code.

When I delete rows from the grid, the points are also removed from the chart, as expected.

After I make certain changes, I wish to clear the chart and draw the series again, to do this I call RadCartesianChart.Series.Clear() and recreate the series once again. Once I've done this however, if I delete an entry in the grid I experience a crash with the error....

An unhandled exception of type 'System.ArgumentException' occurred in Telerik.Windows.Controls.Chart.dll

Additional information: The provided node does exist in this collection.

Am I clearing out the series correctly when I reset the chart?

I have produced a small test app to demonstrate this behaviour available on request.

Here is the stack trace.

    at Telerik.Charting.NodeCollection.Remove(ChartNode node)
   at Telerik.Charting.ElementCollection`1.RemoveItem(Int32 index)
   at System.Collections.ObjectModel.Collection`1.RemoveAt(Int32 index)
   at Telerik.Charting.DataPointCollection`1.System.Collections.Generic.IList<Telerik.Charting.DataPoint>.RemoveAt(Int32 index)
   at Telerik.Windows.Controls.ChartView.ChartSeriesDataSource.PerformRemove(Object removedDataItem, Int32 removedItemIndex)
   at Telerik.Windows.Controls.ChartView.ChartSeriesDataSource.HandleItemRemove(NotifyCollectionChangedEventArgs e)
   at Telerik.Windows.Controls.ChartView.ChartSeriesDataSource.OnSourceCollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.RemoveItem(Int32 index)
   at System.Collections.ObjectModel.Collection`1.Remove(T item)
   at System.Collections.ObjectModel.Collection`1.System.Collections.IList.Remove(Object value)
   at Telerik.Windows.Data.QueryableCollectionView.RemoveItemFromSourceList(IList list, Object removedItem)
   at Telerik.Windows.Data.QueryableCollectionView.RemoveItemFromSource(Object removedItem)
   at Telerik.Windows.Data.QueryableCollectionView.Remove(Object item)
   at Telerik.Windows.Data.DataItemCollection.Remove(Object item)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.DeleteItems(IEnumerable`1 itemsToDelete)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.DeleteSelectedItems()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.TryDeleteSelectedItems()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnDeleteCommand(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
   at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
   at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.UIElement.OnExecutedThunk(Object sender, ExecutedRoutedEventArgs e)
   at System.Windows.Input.ExecutedRoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object target)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
   at System.Windows.Input.RoutedCommand.Execute(Object parameter, IInputElement target)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.ExecutePendingCommand()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.PendAndExecuteCommands(KeyEventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnKeyDown(KeyEventArgs e)
   at System.Windows.UIElement.OnKeyDownThunk(Object sender, KeyEventArgs e)
   at System.Windows.Input.KeyEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndKeyboardInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawKeyboardActions actions, Int32 scanCode, Boolean isExtendedKey, Boolean isSystemKey, Int32 virtualKey)
   at System.Windows.Interop.HwndKeyboardInputProvider.ProcessKeyAction(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.CriticalTranslateAccelerator(MSG& msg, ModifierKeys modifiers)
   at System.Windows.Interop.HwndSource.OnPreprocessMessage(Object param)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
   at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
   at System.Windows.Threading.Dispatcher.Invoke(DispatcherPriority priority, Delegate method, Object arg)
   at System.Windows.Interop.HwndSource.OnPreprocessMessageThunk(MSG& msg, Boolean& handled)
   at System.Windows.Interop.HwndSource.WeakEventPreprocessMessage.OnPreprocessMessage(MSG& msg, Boolean& handled)
   at System.Windows.Interop.ComponentDispatcherThread.RaiseThreadMessage(MSG& msg)
   at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
   at System.Windows.Threading.Dispatcher.Run()
   at System.Windows.Application.RunDispatcher(Object ignore)
   at System.Windows.Application.RunInternal(Window window)
   at System.Windows.Application.Run(Window window)
   at System.Windows.Application.Run()

Thanks,

Rob
 
Petar Marchev
Telerik team
 answered on 27 Mar 2015
5 answers
217 views
Hi guys,
After plotting the route on the RadMap, how can I easily edit the route by simply dragging one of the points in the plotted route? Attached is the sample from Bing Map where user can modified the route by dragging it.

Thanks

Regards
KokHooi
Pavel R. Pavlov
Telerik team
 answered on 27 Mar 2015
3 answers
222 views
I'm guessing this is yet another bug in the RadListBox event handeling:

Create a RadListBox and set it up for Drag and Drop, and then attach handlers for DragInitialized and DragDropCompleted.

Drag and Drop Items and observe:

1. Dragging item from one list box to another does both DragInitialized and DragDropCompleted (correct)
2. Dragging an item to an invalid target and dropping does both DragInitialized and DragDropCompleted (correct)
3. Dragging and item and pressing ESC to cancel also does both DragInitialized and DragDropCompleted (correct)

However...

4. Dragging and item to another position in the same listbox to rearrange only calls DragInitialized handler.  The DragDropCompelted handler is never called. (BUG!)

This screen cast demonstrates: http://screencast.com/t/mx9yQx0EdtZx

David
Kalin
Telerik team
 answered on 27 Mar 2015
1 answer
84 views
Hi,

We are using schedule view with weekly definition. Attached the sample screen shot for reference. As of now, We are displaying time ruler in left side.
Is it possible to display the time ruler in right side also?

Please let me know the feasibiity or suggesstions.

Regards,
Sugumar P
Rosi
Telerik team
 answered on 27 Mar 2015
1 answer
132 views
Is there any way to use the CouldUpload control to upload files to a file share via vpn?

We have users tht need to upload files from remote locations of wifi via VPN to our companies file share, not a cloud service, is there a way to create a provider like that to be able to use this control?
Kiril Vandov
Telerik team
 answered on 27 Mar 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
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
VirtualKeyboard
HighlightTextBlock
Security
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?