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

Type 'AppointmentToolTip' is not defined

2 Answers 82 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 27 May 2009, 03:00 PM
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 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 28 May 2009, 08:30 AM

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,

Svetlina
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.
0
Joel R
Top achievements
Rank 1
answered on 17 Oct 2009, 05:02 PM

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" %>

 

Tags
ToolTip
Asked by
Matt
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Joel R
Top achievements
Rank 1
Share this question
or