Telerik Forums
UI for Universal Windows Platform Forum
1 answer
5 views

I want to sort particular columns in my datagrid using button. I placed this button in another page. If I click that button means it want to go datagrid page and sort that particular columns in automatically its possible!??

I tried but it's not working 

Lance | Manager Technical Support
Telerik team
 answered on 19 Jul 2021
1 answer
9 views

Is it possible to allow the user to tab to the next row when editing data?

At present tab only allows them to move to columns within the row, ideally they want to tab to the next editable column on the next row and so on, is that possible?

Lance | Manager Technical Support
Telerik team
 answered on 14 Jul 2021
0 answers
14 views

I'm facing issue while binding RadCartesianChart, application is crashing. With the help of application log both x-axis and y-axis value are passing but still getting null reference exception.

Logged the stack. Please help

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.UI.Xaml.Controls.Chart.PresenterBase.CreateContentPresenter(Object content, DataTemplate template)
   at Telerik.UI.Xaml.Controls.Chart.Axis.CreateLabelVisual(AxisLabelModel label)
   at Telerik.UI.Xaml.Controls.Chart.Axis.GetLabelVisual(AxisLabelModel label, Int32 index)
   at Telerik.UI.Xaml.Controls.Chart.Axis.MeasureLabel(AxisLabelModel label, Object content)
   at Telerik.Charting.AxisModel.MeasureCo
----Stack----
   at Telerik.UI.Xaml.Controls.Chart.PresenterBase.CreateContentPresenter(Object content, DataTemplate template)
   at Telerik.UI.Xaml.Controls.Chart.Axis.CreateLabelVisual(AxisLabelModel label)
   at Telerik.UI.Xaml.Controls.Chart.Axis.GetLabelVisual(AxisLabelModel label, Int32 index)
   at Telerik.UI.Xaml.Controls.Chart.Axis.MeasureLabel(AxisLabelModel label, Object content)
   at Telerik.Charting.AxisModel.MeasureCore(RadSize availableSize)
   at Telerik.Charting.AxisModel.Measure(RadSize availableSize)
   at Telerik.Charting.CartesianChartAreaModel.AxisStack.Measure(RadSize availableSize)
   at Telerik.Charting.CartesianChartAreaModel.PrepareAxesStacks(RadSize availableSize)
   at Telerik.Charting.CartesianChartAreaModel.ArrangeAxes(RadRect availableRect)
   at Telerik.Charting.ChartAreaModelWithAxes.ArrangeOverride(RadRect rect)
   at Telerik.Core.Node.Arrange(RadRect rect, Boolean shouldRoundLayout)
   at Telerik.Core.RootElement.Arrange()
   at Telerik.UI.Xaml.Controls.Chart.RadChartBase.CallUpdateUI()
   at Telerik.UI.Xaml.Controls.Chart.RadChartBase.InvalidateLayout()
-------------

 

Thanks

Shoeb
Top achievements
Rank 1
 updated question on 06 Jul 2021
2 answers
15 views

Hello,

I'm actually building an app in UWP which has for objective to convert a xls(x) file into a sécurisé pdf file. To make that conversion, one of the step I need (and made) was the conversion from a RaadSpreadsheet.Workbook into a DataTable via the wonderful tool you provide, DataTableFormatProvider.Export()

It does wonder until I was recently given a sample xls with some filter in it. And during the conversion, I've received an error concerning the wrong datatype (ListDictionaryInternal) in place of string. I understand where the error come from and I understand that I just need to get rid of theses excel filter (or to ignore them during conversion but I was unable to find how.

Right now, I'm thinking about converting by myself each spreadsheet row/cell into datatable row/cell one by one but I still want to know if there is an option to the formatage to ignore this type of data ?

Or maybe is there a way to delete/clear theses ListDictionaryInternal from the spreadsheet ? (btw, I've tried deleting the row but it seems like the filter is pasted onto the document even if it is not visible)

 

I would appreciate any help. Thank in advance :)

Serge
Top achievements
Rank 1
Iron
 answered on 28 Jun 2021
1 answer
16 views

I have used telerik for uwp in my software.

1. Can I get copyright for my software?

2. Can I sell this software?

 

Lance | Manager Technical Support
Telerik team
 answered on 25 Jun 2021
1 answer
13 views

Hello, the documentation for the BeginEdit command shows there's a property exposed called Parameter, and it states "Gets an optional parameter holding additional information associated with the operation." However, I can't seem to be able to find any documentation regarding its usage. I would like to pass a custom object to this command, how can I accomplish this?

I'm using it inside of a Telerik RadDataGrid. The following is what the command looks like attached to the grid, where "tg" is "using:Telerik.UI.Xaml.Controls.Grid" and "local" is simply where the three command classes live in my project.

SomeArbitraryView.xaml:

<tg:RadDataGrid.Commands>
    <local:CustomBeginEditCommand  />
    <local:CustomCommitEditCommand />
    <local:CustomDataBindingCompleteCommand />
</tg:RadDataGrid.Commands>

The next snippet is what the BeginEdit class looks like, boiled down to the essentials.

CustomBeginEditCommand.cs:

using Microsoft.Toolkit.Uwp.Helpers;
using System.Collections.Generic;
using Telerik.UI.Xaml.Controls.Grid;
using Telerik.UI.Xaml.Controls.Grid.Commands;

namespace YourNamespace
{
    public class CustomBeginEditCommand : DataGridCommand
    {
        public CustomBeginEditCommand()
        {
            Id = CommandId.BeginEdit;
        }

        public override bool CanExecute(object parameter)
        {
            return true;
        }

        public override void Execute(object parameter)
        {
            var context = parameter as EditContext;
            DataGridCellInfo cellInfo = context.CellInfo;

            // Here is what Telerik offers us to access this optional parameter, but it's always null by default until I can figure out how to pass my custom object
            var optionalParam = context.Parameter;

            // ...

            Owner.CommandService.ExecuteDefaultCommand(CommandId.BeginEdit, context);
        }
    }
}

My knee-jerk reaction is to have something right in the XAML that I can fill with my custom object, but that doesn't seem to be a valid solution. Any help is appreciated!

Lance | Manager Technical Support
Telerik team
 answered on 14 Jun 2021
1 answer
21 views

We've got a RadCartesianChart with a BarSeries. We added the ChartTooltipBehaviour with a custom ContentTemplate. It's difficult to hover the mouse over bars with very small or zero values to get the tooltip to show, so I enabled `SnapToClosestPoint` for the tooltip. This works great for getting the tooltip to appear when hovering in the area above a bar, but if the tooltip gets rendered at a location where the mouse pointer is inside the tooltip, then the tooltip appears, disappears, appears, disappears, etc.

Has anyone else run into this issue? Anyone solved it?

Collin
Top achievements
Rank 1
Iron
 answered on 01 May 2021
2 answers
17 views

Hi again,

I'm almost finished moving from standard ListView components to the RadListView and currently am looking at dragging items from one list to another.

I couldn't find any demo's/examples of this.  When I try it, I can't seem to get the item to drag out of the lists border.

Is there a pre-requisite to enable this?

Thanks,

Rob.

Robin
Top achievements
Rank 1
 answered on 15 Mar 2021
2 answers
12 views

Hi there,

I am using the RadListView on UWP.

I have applied filtering in XAML.  There are multiple filters applied.

How do I refresh one (or all) of those filters when an external comparison value changes?

 

For example;

Say you have a checkbox outside of the radlistview.  The listviews have a delegate filter comparing a property of each item in the collection to the checkbox boolean value.

When that checkbox boolean changes, you want to refresh/re-apply the filter.

How do I do this refresh?

Thanks,

Rob.

Robin
Top achievements
Rank 1
 answered on 04 Mar 2021
0 answers
11 views
nice to know you all
Bianca
Top achievements
Rank 1
 asked on 14 Jan 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Matthias
Top achievements
Rank 4
Bronze
Iron
Iron
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Jeffrey
Top achievements
Rank 2
Iron
Veteran
Iron
Thomas
Top achievements
Rank 1
Iron
Vedad
Top achievements
Rank 1
Iron
Veteran
Iron
Top users last month
Matthias
Top achievements
Rank 4
Bronze
Iron
Iron
Psyduck
Top achievements
Rank 4
Bronze
Bronze
Iron
Jeffrey
Top achievements
Rank 2
Iron
Veteran
Iron
Thomas
Top achievements
Rank 1
Iron
Vedad
Top achievements
Rank 1
Iron
Veteran
Iron