This is a migrated thread and some comments may be shown as answers.

Universal App Telerik controls

3 Answers 143 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Daniele
Top achievements
Rank 1
Daniele asked on 15 May 2015, 03:02 PM

Hello,

I have purchased two your controls:  UI for Windows Phone 8 e UI for Windows Universal.

I would like to develop an Universal App.

In my filesystem I have this folder after having installed the telerik products:

C:\Program Files (x86)\Telerik\UI for Windows Universal Q1 2015\Binaries

and in Binaries I have three folders:

Common 

Windows 8.1 

Windows Phone 8.1

 

But If I try to add the assembly to my windows phone project and try to use the RadNumericBox control

I get this error:

Message = "Telerik.UI.Xaml.Controls.TemplateNotAppliedException: Exception of type 'Telerik.UI.Xaml.Controls.TemplateNotAppliedException' was thrown.\r\n   at Telerik.UI.Xaml.Controls.RadControl.VerifyTemplateApplied()\r\n   at Telerik.UI.Xaml.Controls.RadControl.Arr...

 

In other words I don;t understand which assembly I have to use in myApp  Universal project.

 

Could you help me in some way?

 

Thanks Daniele

3 Answers, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 20 May 2015, 12:04 PM
Hi Daniele,

This exception is thrown when some part of the Template of the controls cannot be accessed. A possible reason for this is wrong reference to our Windows 8.1 and/or Windows Phone 8.1 binaries. To overcome this issue please follow the steps described in the Start Using Telerik UI for Windows Universal article. This is the recommended approach.

If, however, it is not possible for you to use the SDKs you can use direct references to the corresponding binaries. This means that you need to refer the Windows Phone 8.1 binaries in the Windows Phone 8.1 project.
Also, it is important to keep in mind that the folder structure inside the Binaries folder should not be changed. In other words, if you need to move the binaries somewhere else, not in the default installation path, you should move the Binaries folder as one. It is not recommended to reorder the dlls inside it.
In case that you reference the binaries manually, you can find which binaries are required for each control in the control's GettingStarted article.

I hope this information is helpful.

Regards,
Pavel R. Pavlov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Daniele
Top achievements
Rank 1
answered on 26 May 2015, 12:24 PM

Hi Pavel,

thanks for your help.

I have another question.

If I would like to use the RadPasswordBox component in my WindowsPhone Project 

what assembly I have to add to my project?

After having followed the recommended approach I'm not able to use the component in my xaml code.

At the moment in my project I have added the assembly named "Telerik UI for Windows Phone 8.1"

and I have declared the following namespace :

xmlns:TelerikControls="using:Telerik.UI.Xaml.Controls"
xmlns:TelerikInput="using:Telerik.UI.Xaml.Controls.Input"
xmlns:TelerikPrimitives="using:Telerik.UI.Xaml.Controls.Primitives"

 

Why I'm not able to use the RadPasswordBox component?

Thanks

Bye

Daniele

 

 

 

 

0
Pavel R. Pavlov
Telerik team
answered on 29 May 2015, 05:39 AM
Hi Daniele,

You cannot use the RadPasswordBox control because we do not ship it within our UI for Windows Universal suite. You can see which controls and for which platform are available in the Introduction page of our documentation.

In order to have password functionality in your application you can use the native PasswordBox component.

Regards,
Pavel R. Pavlov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussion
Asked by
Daniele
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Daniele
Top achievements
Rank 1
Share this question
or