Telerik Forums
UI for Universal Windows Platform Forum
0 answers
19 views

I am running into an issue with the calendar control dealing with the header content template. I have a template set in the calendar however on load the header never shows up. The only way that I have been able to see the header content is if i comment out the template while it is running, uncomment it and then save. After this the header shows up at the top of the screen. I have attached a screenshot with my rad calendar as well as a zipped mp4 video showing the issue and it appearing after commenting/uncommenting the data template. Any idea why the header content template does not show on load?

Tyler
Top achievements
Rank 1
 asked on 25 Apr 2022
1 answer
72 views

Hello,

By chance, have you helped anyone with pivoting data into a grid?

I have some data that looks similar to this::

EmployeeID  |  ShiftDate (MMddyyyy)   | Hours 
1                      | 11062021                           | 07:00 - 10:00 
1                      | 11072021                           | 08:00 - 12:00 
1                      | 11082021                           | 07:00 - 10:00 
1                      | 11092021                           | 07:30 -  16:00
2                     | 11062021                           | 07:00 - 10:00 
2                     | 11072021                           | 07:00 - 10:00 
2                     | 11092021                           | 07:00 - 10:00 
3                     | 11082021                           | 07:00 - 10:00 

I'd like to show it in the Grid Like this:

EmployeeID | 11062021        | 11072021         | 11082021        | 11092021          |
1                    | 07:00 - 10:00 | 08:00 - 12:00 | 07:00 - 10:00 | 07:30 -  16:00  |
2                   | 07:00 - 10:00 | 07:00 - 10:00 |                         | 07:00 - 10:00  |
3                   |                         |                         | 07:00 - 10:00 |                          |

Hoping for an example if possible.  Since this product doesn't have the PivotGrid, I might have to come up with another idea.

Sincerely,
Keith Nicholson

Didi
Telerik team
 answered on 02 Nov 2021
1 answer
85 views
Is it as simple as Telerik UI for Xamarin includes Telerik UI for UWP?
Didi
Telerik team
 updated answer on 16 Aug 2021
1 answer
97 views

I want to print my datagrid with multiple page.

 

It's printing only a single page, and also I can't able to print header and footer for printing page. How to print a datagrid with multiple page & header and footer!!?????

Lance | Manager Technical Support
Telerik team
 answered on 09 Aug 2021
1 answer
61 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
83 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
72 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
116 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
114 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
72 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Benjamin
Top achievements
Rank 2
Iron
Christopher
Top achievements
Rank 1
Iron
Bernd
Top achievements
Rank 4
Bronze
Iron
Iron
Timothy J
Top achievements
Rank 1
Iron
Iron
Iron
Marian
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Benjamin
Top achievements
Rank 2
Iron
Christopher
Top achievements
Rank 1
Iron
Bernd
Top achievements
Rank 4
Bronze
Iron
Iron
Timothy J
Top achievements
Rank 1
Iron
Iron
Iron
Marian
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?