Error related to rad control "assembly"

7 posts, 0 answers
  1. Amit
    Amit avatar
    4 posts
    Member since:
    Apr 2012

    Posted 30 Apr 2012 Link to this post

    I have installed telerik controls and its controls are visible and enabled under toolbox.
    Even added Telerik.Windows.Controls library.

    Added one radcontrol under .xaml and also Included this under .xaml:

    xmlns

    :telerik="http://schemas.telerik.com/2008/xaml/presentation"

     

    xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"

     
    After running my silvelight app it is showing an error i.e:
    The type or namespace name 'RadListBox' could not be found (are you missing a using directive or an assembly reference?)

    What should i do now to resolve it?
    I want to use telerik controls under my project!!

  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2477 posts

    Posted 30 Apr 2012 Link to this post

    Hello,

    You do not need the quick start assembly at all. This assembly contains our examples and you don't really need to reference them.

    As for the RadListBox, most probably you have added an incorrect assembly. Why don't you add the RadListBox from the Toolbox -- it will automatically add all needed assembly references.

    Kind regards,
    Ross
    the Telerik team

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

  3. Amit
    Amit avatar
    4 posts
    Member since:
    Apr 2012

    Posted 30 Apr 2012 Link to this post

    Thankyou sir for replying.
    I added the control from toolbox, but still it is showing the same error.
    What should i do now?

    xmlns

    :telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"

     


    After adding radpanelbar it is showing error as:
    Error 16 The tag 'RadPanelBar' does not exist in XML namespace 'http://schemas.telerik.com/2008/xaml/presentation'.

    It is also showing WARNINGS like this :  The primary reference "Telerik.Windows.Controls" could not be resolved because it has an indirect dependency on the .NET Framework assembly "System, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" which has a higher version "5.0.5.0" than the version "2.0.5.0" in the current target framework. TutorialViewChangeEvents

  4. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2477 posts

    Posted 30 Apr 2012 Link to this post

    Hi,

    Please, send us the sample project that demonstrates your problem.

    Kind regards,
    Ross
    the Telerik team

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

  5. Amit
    Amit avatar
    4 posts
    Member since:
    Apr 2012

    Posted 30 Apr 2012 Link to this post

    I think i got it sir.
    I am adding telerik control under my silverlight page.

    Telerik works only underRadControlsSiverlight under newproject.
    Am I right??
    If I want to add RadControl under my curent silverlight page then what should i do?
  6. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2477 posts

    Posted 30 Apr 2012 Link to this post

    Hello,

    I am afraid that I cannot fully understand your question. Telerik controls are just controls like any other controls in the world.

    They are in assemblies, i.e. DLL files.

    If you want to use them -- you have to reference the correct assemblies. This is general .NET knowledge and I am not sure how is this related to Telerik in particular.

    Thank you for your understanding.

    Greetings,
    Ross
    the Telerik team

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

  7. Amit
    Amit avatar
    4 posts
    Member since:
    Apr 2012

    Posted 30 Apr 2012 Link to this post

    Thnks for replying sir.
    Now I know how to use it with no errors.
    I configured my project to -> rightclick project-> RadControlsForSilverlight->Upgrade wizard and DONE.

    Actually my Rad installed version was not matching with silverlight version, so i changed silverlight version to 5 .and it started running successfully!!

    :) Thanks again for replying
Back to Top