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

TabControl Intellisense Issue

7 Answers 57 Views
TabControl
This is a migrated thread and some comments may be shown as answers.
Pratik
Top achievements
Rank 1
Pratik asked on 28 Aug 2013, 03:51 PM

I am leveraging the WPF Telerik libraries for a simple Tab control. Weird enough the exact same code/solution works on my personal computer but gives the following error on my office machine:

Code

<Window x:Class="WpfApplication1.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    Title="MainWindow" Height="350" Width="900">
<Grid>
    <telerik:RadTabControl>
        <telerik:RadTabItem Header="Dashboard Summary" Width="200" Background="Gray">
        </telerik:RadTabItem>
        <telerik:RadTabItem Header="Details" Width="200" Background="Gray"  />
        <telerik:RadTabItem Header="Policy Tester" Width="200" Background="Gray"  />
    </telerik:RadTabControl>
</Grid>
</Window>

The exact same 3 libraries are being referenced but the same code on my office machine renders the tabs but doesnt give me intellisense and keeps throwing the following error:

7 Answers, 1 is accepted

Sort by
0
Pratik
Top achievements
Rank 1
answered on 29 Aug 2013, 03:14 PM
Can anybody - please help me here

Pratik
0
Hristo
Telerik team
answered on 02 Sep 2013, 11:15 AM
Hi Pratik,

Could you please check if DLLs version is the same on both machines? Also, could you please share them with us?
In addition, I am not quite sure I got you last sentence correctly. Are you saying that the project is running on both machines but the intellisense is broken on the office machine?

Regards,
Hristo
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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
Pratik
Top achievements
Rank 1
answered on 02 Sep 2013, 08:20 PM
Hristo -

1) I uploaded the zip sample solution here which highlights the issue - https://github.com/pratikrshah/TelerikTabSample

2) This exact same sample solution is the one which works on 1 computer but not on the other one (as shown in the screenshots previously)

3) The dll version details is also attached in the screenshot.

4) The last sentence - what I meant was - even though it compiles with errors on the office comp - it gives me inconsistent behavior - if I override the behaviors - sometimes I renders and sometimes it just bombs. 

Let me know if you need any further information

Thanks
Pratik
0
Pratik
Top achievements
Rank 1
answered on 04 Sep 2013, 05:51 PM
Hristo - 

Any findings?

Thanks
Pratik
0
Hristo
Telerik team
answered on 05 Sep 2013, 10:06 AM
Hello Pratik,

Thank you for the GitHub sample. For some reason it turns out that the Lib folder causes the name resolution issues. I have deleted the Lib folder and used a DLL folder instead (for example), where I have placed the binaries. Also I have deleted the Bin and Obj folders in order to remove the cached files. These steps resolved the issue on my side.
Could you please try them and let us know should you still face the issue?

In addition, I would like to advise you use the latest binaries. Having a version more than a year old will not allow you to use new stuff and take advantage of the latest fixes.

Regards,
Hristo
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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
Pratik
Top achievements
Rank 1
answered on 10 Sep 2013, 07:53 PM
Hristo -

Sorry for the delay in replying back. I tried your suggestions but it still doesnt work. Here is what I did as per your suggestions:

1) Deleted the Lib folder and dropped the Telerik dll's into a new folder (dll). That didnt work
2) So removed the dll folder too and just dropped them at the root folder where the sln file is there. Still same issue
3) Deleted the bin and obj folder - still didnt work
4) Created a brand new sample project and dropped the Telerik dlls in the root folder again. Still didnt help

What do I do next?

Thanks
Pratik
0
Tina Stancheva
Telerik team
answered on 13 Sep 2013, 06:54 PM
Hello Pratik,

Thank you for getting back to us. Unfortunately even though we tested your application on different machines we were not able to reproduce the issue.

However, we've seen similar issues before and they were caused by the VisualStudio installation. This is why you can check to see if you have the latest VisualStudio SP installed? If you don't, please install it as that might help resolve the intellisense issues.

If an upgrade doesn't help, please elaborate on the VS and OS versions you're using. Also can you please check whether you have an installation of the RadControls for WPF on the machine where the issue is reproduced? If you have, please try to reference your assemblies from the Telerik installation directory.

If referencing the assemblies from the Telerik installation directory also doesn't help, you can also try to use the Project Upgrade Wizard to upgrade the solution to use the latest Telerik assemblies - that can fix any issues within the assembly references (if there were any).

Regards,
Tina Stancheva
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
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
TabControl
Asked by
Pratik
Top achievements
Rank 1
Answers by
Pratik
Top achievements
Rank 1
Hristo
Telerik team
Tina Stancheva
Telerik team
Share this question
or