Telerik Forums
UI for WPF Forum
2 answers
156 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
356 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
188 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
545 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
167 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
200 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
109 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
1 answer
160 views
Aside from just turning it off, is it possible to make it position itself intelligently? It likes to position itself at the top of the image regardless of whether that is actually within the bounds of the RichTextBox. Additionally, it stays on top of everything, which is disconcerting when you switch to other applications.
Svilen
Telerik team
 answered on 13 Jun 2022
1 answer
138 views

Hi,

I made a table using RadGridView and in one of my columns I wanna have another XAML element insted of having text.
I have columns like this one : 

<telerik:GridViewDataColumn UniqueName="NameColumn"
                                                x:Name="NameColumn"
                                                Width="*" 
                                                TextAlignment="Left"
                                                Header="{Resx Common_Label}"
                                                MinWidth="200"
                                                DataMemberBinding="{Binding TankName}"
                                                IsFilterable="False">
                    <telerik:GridViewColumn.CellStyle>
                        <Style TargetType="telerik:GridViewCell">
                            <Setter Property="Template">
                                <Setter.Value>
                                    <ControlTemplate>
                                        <Border BorderBrush="LightBlue" BorderThickness="0 0 1 0">
                                            <TextBlock HorizontalAlignment="Stretch" VerticalAlignment="Center" TextAlignment="Left" Margin="20, 0, 0, 0" Text="{Binding TankName}" FontFamily="Segoe UI" FontSize="16" />
                                        </Border>
                                    </ControlTemplate>
                                </Setter.Value>
                            </Setter>
                        </Style>
                    </telerik:GridViewColumn.CellStyle>
</telerik:GridViewDataColumn>
And I wanna do something like that :

<telerik:GridViewDataColumn UniqueName="ErrorColumn"
                                            x:Name="ErrorColumn"
                                            Width="*"
                                            MinWidth="200"
                                            IsFilterable="False">
                    <common:ErrorDiode x:Name="DiodeError" ></common:ErrorDiode>
</telerik:GridViewDataColumn>

And Visual Studio shows me an error saying that's impossible to have direct content in GridViewDataColumn.

What should I do?
Yowims
Top achievements
Rank 1
Iron
 answered on 13 Jun 2022
1 answer
165 views
When I Input some word it works,However when press BackSpace the highlights disappeared
Stenly
Telerik team
 answered on 13 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
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
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?