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

Tag RadImageButton does not exist in XML namespace

6 Answers 91 Views
ImageButton
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Victor Hugo
Top achievements
Rank 1
Victor Hugo asked on 03 Jul 2012, 01:49 PM
I'm trying to use the RadImageButton in a WP7 project, I have already added every telerik reference to the project. What could be the problem? Thanks in advance.

6 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 03 Jul 2012, 02:08 PM
Hello Victor,

Thank you for contacting us.
RadImageButton requires only two assemblies:
  • Telerik.Windows.Core.dll
  • Telerik.Windows.Controls.Primitives.dll
  • Make sure that you have them added and that you have correctly mapped a prefix to the Telerik.Windows.Controls namespace from the Telerik.Windows.Controls.Primitives assembly:
    xmlns:telerikPrimitives="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Primitives"
    Then you should be able to add the RadImageButton:
    <telerikPrimitives:RadImageButton/>
    Then clean the solution to avoid any assembly mismatches and rebuild.
    Let me know if you still experience any difficulties with instantiating RadImageButton.

    All the best,
    Todor
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    0
    Victor Hugo
    Top achievements
    Rank 1
    answered on 03 Jul 2012, 02:14 PM
    It doesn't work. When I type <telerikPrimitives: a list appears in Visual Studio and the RadImageButton is not in that list. Thanks.
    0
    Todor
    Telerik team
    answered on 03 Jul 2012, 02:25 PM
    Hi Victor,

    What you are saying seems really strange. On our side everything looks fine. I have prepared a sample soution following the steps from my previous post to show you the basic usage of RadImageButton. Please have a look and let me know if the solution that I sent you throws an exception on your side or if it helps you find what is missing in your application.

    All the best,
    Todor
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    0
    Victor Hugo
    Top achievements
    Rank 1
    answered on 03 Jul 2012, 02:29 PM
    It still gives me an error. Could it be a problem with the installation?
    0
    Todor
    Telerik team
    answered on 03 Jul 2012, 02:49 PM
    Hi Victor,

    It is possible to be related to the installation. So, I'd like to ask youto send us your sample application that is referencing the assemblies that you have and include the assemblies as well.
    In order to add a project, you will need to open a new support ticket.

    Kind regards,
    Todor
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    0
    Victor Hugo
    Top achievements
    Rank 1
    answered on 03 Jul 2012, 03:13 PM
    I added the project.This is my ticket number : 561489 
    Tags
    ImageButton
    Asked by
    Victor Hugo
    Top achievements
    Rank 1
    Answers by
    Todor
    Telerik team
    Victor Hugo
    Top achievements
    Rank 1
    Share this question
    or