Telerik Forums
UI for Universal Windows Platform Forum
2 answers
247 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
246 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 | Senior Manager Technical Support
Telerik team
 answered on 25 Jun 2021
1 answer
137 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 | Senior Manager Technical Support
Telerik team
 answered on 14 Jun 2021
1 answer
246 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
1 answer
106 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.

Yana
Telerik team
 answered on 09 Mar 2021
2 answers
119 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
79 views
nice to know you all
Bianca
Top achievements
Rank 1
 asked on 14 Jan 2021
3 answers
400 views
Is it possible to prevent selection of certain items that we have bound a listview to a custom observable collection based on an property in the item?
Yana
Telerik team
 answered on 12 Jan 2021
2 answers
2.5K+ views

Steps to replicate:

1. run VS 2019 v

2. create a new UWP project using VB.NET

3.  prompt appears for login credentials? (see attached image)

Error is listed:

"Failed to download package 'Microsoft.Net.UWPCoreRuntimeSdk.2.2.9' from 'https://api.nuget.org/v3-flatcontainer/microsoft.net.uwpcorerutimesdk/2.2.9/microsoft.net.uwpcoreruntimesdk.2.2.9.nupkg'.  The ServicePointManager does not support proxies with https scheme."

What/where are this credentials??  (they aren't my telerik account credentials, that much I know)

Cheers, Rob.

 

Rob A.
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 23 Oct 2020
6 answers
546 views

In my grid data column I cannot set the minimum and maximum value. I thought it works like the RadNumericBox.

Lance | Senior Manager Technical Support
Telerik team
 answered on 24 Sep 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?