Telerik Forums
UI for WPF Forum
0 answers
140 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
119 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
135 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
318 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
145 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
514 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
144 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
181 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
95 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
127 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?