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

Reference Errors

7 Answers 128 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nassos Katsaounis
Top achievements
Rank 1
Nassos Katsaounis asked on 28 Aug 2013, 09:28 PM
Hello,

I am in the process of evaluating the WinForms Controls. Actually, when I saw the Bubble Bar in the Demos, I was convinced I need Telerik to go on with my project. However, I am trying to even start a project for the last two days and nothing seems to be going right, let alone set up a BubbleBar, which now, I have come to understand that it is not a native (Rad) control, but a derrivative.

Anyway, here's the problem. I tried to isolate the BubbleBar to another project (drawing from your demo source code). It seemed impossible to get the references right. So, I open a form and drag a label in it. I am thinking: "all relevant references must be inserted automatically now". And indeed they are (image1.png). You can see all controls in design time (image2.png). But, as soon as i try to compile, I get an error for each control as if I had never inserted a reference (image3.png). If it helps, in image4.png you can see my intellisense showing no namespaces other than "Examples", for Telerik.

What am I doing wrong?

Thank you in advance,
N.

PS:
I am working on VS2010, but later may be working on VS2008 as well.

7 Answers, 1 is accepted

Sort by
0
Nassos Katsaounis
Top achievements
Rank 1
answered on 29 Aug 2013, 09:28 AM
I also, seem to have similar issues with reporting. Just opening the project and building gives this error.
0
Nassos Katsaounis
Top achievements
Rank 1
answered on 29 Aug 2013, 10:00 AM
Hello again,

Just wondering, is anybody reading this?

Thanks
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 02 Sep 2013, 01:17 PM
Hello Nassos,

Thank you for contacting Telerik Support.

Dragging a certain RadControl from the Toolbox adds automatically the corresponding reference. If you copy/paste some code which needs another reference it is necessary to add the needed Telerik dll manually. For example if you drag and drop RadLabel it should add automatically Telerik.WinControls.UI dll. But if you paste a code from the example you will need to add Telerik.WinControls dll.

Have in mind that although we strive to address the forum threads of the users in good account standing within 72 hours (business days only), an answer in the forums is not guaranteed and if you want to get support from Telerik representative, please use our support ticketing system

I hope this information helps. Should you have further questions, I would be glad to help.

Regards,
Desislava
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Nassos Katsaounis
Top achievements
Rank 1
answered on 03 Sep 2013, 06:27 AM
Hello Desislava,

Thank you for your reply. Unfortunately, it does not address the problem I described in any way: rather it is general information I already knew.

Thanks anyway.
Nassos
0
Peter
Telerik team
answered on 05 Sep 2013, 02:15 PM
Hi Nassos,

Thank you for writing back.

You can read more about the RadBubbleBar in this thread - 
How can I develop Bubble Bar? - Forms, Dialogs, TitleBar, StatusStrip Forum - WinForms Controls

Please, find the attached files which contains:

1. C# WinForms project containing the classes required for the bubble bar to work - this project is only for demonstrating the idea of the extracting.
2. ClassLibrary project which you can compile and add reference to the compiled DLL file in your projects
The 3 classes required for the bubble bar to work are:
1. BubbleBarElement
2. BubbleBarMouseOverBehavior
3. RadBubbleBar
They are implemented and should work out of the box, all you need to do is add references to the following Telerik libraries:
1. Telerik.WinControls
2. Telerik.WinControls.UI

I hope this helps. 

Regards,
Peter
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Nassos Katsaounis
Top achievements
Rank 1
answered on 10 Sep 2013, 08:25 AM
Hey Peter, thanks for the reply and the code.

I still encounter problems though: I have not been given an answer concerning the references mess:

I downloaded your code and compiled it. Then, I referenced it in another project.At design time, all look fine. As soon as I hit "Run" or "Build" I get a load of errors concerning missing references. These errors will not get fixed even after I add the references ( I am probably doing some wrong referencing here).

Can you please clarify the versioning and framework whereabouts of your control suite:
a. What framework should my application be targeting with your controls (both Telerik suite AND bubblebar)
b. What version of Telerik libraries (trial) should I reference in my projects.

I still haven't had the chance to start a project and test your controls smoothly.

Thanks a lot
Nassos
0
Peter
Telerik team
answered on 12 Sep 2013, 10:26 AM
Hi Nassos,

The provided information is not enough for me to determine what can cause this.
You should set as target framework 2.0 or 4.0 (4.0 must be full version not client profile version) and you should reference Q2 2013 or Q1 2013 versions but the code will work also with the older version of the controls.

Could verify that you the project with bubble bar and your second project which references the bubble bar project are referencing the same Telerik DLLs from the same place. I would like to suggest to uninstall all versions of Telerik Controls for WinForms. Remove from GAC any Telerik.WinControls (TelerikCommon) DLLs and then remove all Telerik DLLs from the projects folders (like bin, debug, obj) and install again only one version of Telerik Controls for WinForms and add the references anew.

I hope that this will resolve the issue.

Regards,
Peter
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
General Discussions
Asked by
Nassos Katsaounis
Top achievements
Rank 1
Answers by
Nassos Katsaounis
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Peter
Telerik team
Share this question
or