Telerik Forums
UI for WPF Forum
1 answer
127 views

I have a RadDiagram to which I bind a IGraphSource that contains some Items and Links. I'm just following the examples from Telerik documentation for everything, I have a default RadDiagram defined in my XAML and I set up some custom styles for the Shape and Connection.

Even if i make sure the ConnectorPositions are set up to connect to the Right and Left of the shapes, I can not figure out how to have items automatically align horizontally instead of vertically.

Here is how they align by default:

 

Here is how I want them to (automatically) align - left to right, horizontally:


How can I achieve a horizontal layout like this with dynamic data binding?

 

Thanks!

Dilyan Traykov
Telerik team
 answered on 20 Jun 2022
0 answers
149 views

Hi, please see images below and let me know if this is something that has been mentioned before.

When we first load our grid none of the columns are shown - see first screenshot (a).

After repopulating the dataset (ObservableCollection) with data, the columns are still all shrunk/collapsed - second image (b).

The blue column size stretcher has to be dragged to the right to reveal all the columns - third image (c).

It looks like it may be due to the container, Grid being set to * Width as we want the grid to fully populate the right of the screen, is there a way round this to have the radgridview work in this manner?

 

 

Matthew
Top achievements
Rank 1
 updated question on 18 Jun 2022
1 answer
138 views

Hello,

I've replicated, at least, this error when using the List view: when file names are too long, they are truncated (with ...) and there is no way to widen the field. This is very annoying when files with similar long names are displayed in the control.

It's also different to how Windows Explorer works.

Regards

Stenly
Telerik team
 answered on 17 Jun 2022
2 answers
149 views

I need to make a polar chart that is not labeled 0 to360 but 0 to 180 and 0 to -150.  Any ideas on how I might do this?

I included an image of what I need in case it is not clear.

Raji
Top achievements
Rank 1
Iron
 answered on 17 Jun 2022
1 answer
351 views

Hi,

I just created a RadRibbonWindow in my application, each time I called this window,the program was interupted. 

Picture of exception is in attachment.

 

These are my codes in xaml:

<telerik:RadRibbonWindow x:Class="AutoTerminalFunction.Views.RadRibbonTest"
        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="RadRibbonTest" 
        Width="525" 
        Height="350" 
        IsTitleVisible="True">
   <Grid>
        <telerik:RadRibbonView Title="RibbonView Title" ApplicationName="My Application">
            <telerik:RadRibbonView.QuickAccessToolBar>
                <telerik:QuickAccessToolBar>
                    <telerik:RadRibbonButton Text="Option 1" />
                </telerik:QuickAccessToolBar>
            </telerik:RadRibbonView.QuickAccessToolBar>
            <telerik:RadRibbonTab Header="Home">
                <telerik:RadRibbonGroup Header="Clipboard">
                    <telerik:RadRibbonSplitButton Size="Large" 
                                                  Text="Paste" 
                                                  telerik:ScreenTip.Description="Paste the contents the Clipboard." 
                                                  telerik:ScreenTip.Title="Paste(Ctrl+V)">
                        <telerik:RadRibbonSplitButton.DropDownContent>
                            <telerik:RadContextMenu BorderThickness="0">
                                <telerik:RadMenuItem Header="Paste" />
                                <telerik:RadMenuItem Header="Paste Form" />
                            </telerik:RadContextMenu>
                        </telerik:RadRibbonSplitButton.DropDownContent>
                    </telerik:RadRibbonSplitButton>
                </telerik:RadRibbonGroup>
            </telerik:RadRibbonTab>
            <telerik:RadRibbonTab Header="View" />
        </telerik:RadRibbonView>
    </Grid>
</telerik:RadRibbonWindow> 

 

Backstage codes are original.

 

Does anyone know what causes this problem?I've tried everything I know,like remove and re-referencingTelerik.WIndows.Controls.Input.dll.

Thanks alot!

Martin Ivanov
Telerik team
 answered on 17 Jun 2022
1 answer
184 views

I have a RadGridView that I want to keep its structure but add some button of my own at the end of each line.

<telerik:RadGridView Grid.Row="0" 
                     ItemsSource="{Binding MyList}"
                     RowIndicatorVisibility="Collapsed"
                     AutoGenerateColumns="False"
                     FrozenColumnsSplitterVisibility="Collapsed">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding A}" Header="A"/>
        <telerik:GridViewDataColumn DataMemberBinding="{Binding B}" Header="B"/>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

 

And for example, I want to achieve that:

 

 

I would be happy for help with how I can do this

Dilyan Traykov
Telerik team
 answered on 16 Jun 2022
2 answers
539 views

Is there a way to use SVG/XAML (vector) icons in ApplicationButtonImageSource  and in the RadRibbonBackstageItem entries ?

I am able to set the Icon field in RadContextMenu to <Path  Data="....Vector info..."/> and use vector graphics - would like to do the same for the icons in the RibbonView.

Your help is much appreciated.

Priya
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 15 Jun 2022
1 answer
161 views

Hello, I'm in front of a mystery.

I have 2 columns, created dynamically in a RadGridView. Let's name them column A and column B.

When I have one row, and I select a cell in column A, then click on column B's header to sort it, SelectedCellsChanged is fired and args.RemovedCells contains my cell. From this, I understand that I lose my selection when I sort a column, which is perfectly fine.

When I have two rows, and I select both cells in column A, then click on column B's header to sort it, both GridViewCellInfo have their .Item to null in SelectedCellsChangedEventArgs.RemovedCells, which is unexpected on my side!

That way, I can't identify the rows to which these removed cells belong, which is painful.

Why is that?
Thanks!

Dilyan Traykov
Telerik team
 answered on 15 Jun 2022
1 answer
193 views

This is more to any Telerik support people on the forum...

I am working on resolving an error in a Windows application that we use.  The application was originally written back in 2012 (and last updated in 2016) using Visual Studio 2010 with and C#.  Also, we are running it under Windows 10.

When debugging the source code, the underlying exception that I see is

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Windows.Automation.Peers.GridViewGroupPanelAutomationPeer.GetChildrenCore()
   at System.Windows.Automation.Peers.AutomationPeer.EnsureChildren()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateChildrenInternal(Int32 invalidateLimit)
   at System.Windows.Automation.Peers.AutomationPeer.UpdateChildren()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()
   at System.Windows.ContextLayoutManager.fireAutomationEvents()
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
   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 numArgs, Delegate catchHandler)

....

and uses an older version (2012) of the Telerik UI for WPF library (I think that is the one):

I found the following forum post

https://www.telerik.com/forums/unhandled-exception-telerik-windows-automation-peers-gridviewgrouppanelautomationpeer-getchildrencore

and wanted to try the latest version of either the 2012 (I don't know if we have those) or 2013 (depending on how much the API changed) libraries.  The issue with doing so is that (so far, still working on that) I can't find anyone here with any knowledge of an existing Telerik account or past account from which I can get the older libraries.  Would I be able to get those without having an account, at this juncture?

Thanks for any assistance in advance...

Dilyan Traykov
Telerik team
 answered on 15 Jun 2022
0 answers
104 views
We are trying to create a global TaskManager to cancel all tasks as a user navigates if the load is still taking place. We use QueryableDataServiceCollectionView across many grids in our system to support all the filtering, paging, and grouping. I can call the method that sets the collections query and context and to auto load it but the loaded method is never called. Is there a way to use a task to track the progress of the loading collection?
Josh
Top achievements
Rank 1
 asked on 14 Jun 2022
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?