Universal App Telerik controls

4 posts, 0 answers
  1. Daniele
    Daniele avatar
    7 posts
    Member since:
    May 2014

    Posted 15 May 2015 Link to this post

    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

  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 20 May 2015 Link to this post

    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
  3. Daniele
    Daniele avatar
    7 posts
    Member since:
    May 2014

    Posted 26 May 2015 in reply to Pavel R. Pavlov Link to this post

    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

     

     

     

     

  4. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 29 May 2015 Link to this post

    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
Back to Top