Type 'AppointmentToolTip' is not defined

3 posts, 0 answers
  1. Matt
    Matt avatar
    66 posts
    Member since:
    Apr 2009

    Posted 27 May 2009 Link to this post

    I'm getting this error when I try to mimic the demo code.  I have Telerik.Web.UI imported.  Do I need another namespace to use the AppointmentToolTip object?
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 28 May 2009 Link to this post

    Hello Matt,

    The AppointmentTooltip type is not some embedded in the dll type - it is actually the user control which is loaded in the tooltip. In order to use it you should have the same namespaces and you load it as you do with every standard user control you define yourself.

    When you install RadControls, our online examples projects are automatically installed on your computer and you can not only examine their full source code, but also extend them further in order to meet your requirements.

    You can open the demos from here:

    Start\Programs\Telerik\RadControls for ASPNET AJAX\Open Sample WebSite In VisualStudio

    The actual location on your hard disk is the following one:

    C:\Program Files\Telerik\RadControls for ASPNET AJAX \Live Demos

    I believe that examining the full source code will give you a better understanding on the demo scenario. In case you need further assistance, do not hesitate to contact us again.

    All the best,

    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. Joel R
    Joel R avatar
    26 posts
    Member since:
    Nov 2007

    Posted 17 Oct 2009 Link to this post

    I had this problem and the critical piece is to register the control in the aspx page as shown below even though the control is only used in the code-behind.



    @ Register Src="~/Controls/QuestionIntent.ascx" TagName="QuestionIntent" TagPrefix="uc1" %>


Back to Top