DatePicker Styling - Exception with Expression Blend

4 posts, 0 answers
  1. Matthias
    Matthias avatar
    6 posts
    Member since:
    Feb 2009

    Posted 28 May 2009 Link to this post

    I would like to style and edit the control template of the RadDatePicker inside Expression Blend.
    When I add a copy of either the control template or the style of it, i get the following exception (german error message):

    "
    An Exception was thrown.
    StackTrace: Empty

    Inner Exception: Der öffentliche Typ mit dem Namen "RadDatePicker" kann von dem Typverweis nicht gefunden werden
    XamlParseException: Der öffentliche Typ mit dem Namen "RadDatePicker kann von dem Typverweis nicht gefunden werden
    StackTrace
    bei System.Windows.Markup.XamlReaderHelper.Read(XamlNode& xamlNode)
    ...
    InnerException:None
    "

    Translation of the message: "The public type with the name "RadDatePicker" can't be found by the reference type"
    When I open the project with Visual studio, the exception does not occur.

    Thanks in advance for helping.
  2. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 29 May 2009 Link to this post

    Hi Matthias,

     I tried this on my test PC and it is working fine. If you are not with our latest binaries you may want to download them and try the issue again. Another thing you can try is to add to the references Telerik.Windows.Data.dll because Input assembly was dependent on it in previous versions which is fixed now.
    Also make sure  Telerik.Windows.Controls is always included in your references as it is used by all controls.

     I have attached a project which you can open and try if you get the same error. If the problem persist you can open a support ticket and send us a project so that we can replicate and investigate the error.

    Regards,
    Boyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Matthias
    Matthias avatar
    6 posts
    Member since:
    Feb 2009

    Posted 02 Jun 2009 Link to this post

    Thanks for your answer. Your test project works fine (no exception). The necessary .dll files have already been added to my project. I removed and added them again, but I still get the exception when I copy the style or the control template.
    Do you have an assumption, what else could cause the exception?
    Thanks in advance!

    Update: Somehow it's working right now although I haven't done any changes. I also tried to create a new blank project, add the .dll files, create the RadDatePicker and copy its style. One time it was not working (exception), another time its working. I don't know what causes this strange behaviour. Some information about my setup: MacBook Pro 2,4 GHz Intel Core 2 Duo, 4GB Ram, Windows XP running under Parallels Desktop 4.0
  5. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 05 Jun 2009 Link to this post

    Hello Matthias,

    That's very strange and I am out of ideas. Are you using our latest binaries  -- 2009.1.526 ?  If not , can you can download them and try with them . And if the problem persists can you open a support ticket and send me a project where the error occurs. I will do my best to figure out what is the problem and provide you with a solution.

    Best wishes,
    Boyan
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top