TabControl Intellisense Issue

8 posts, 0 answers
  1. Pratik
    Pratik avatar
    8 posts
    Member since:
    Aug 2013

    Posted 28 Aug 2013 Link to this post

    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:

  2. Pratik
    Pratik avatar
    8 posts
    Member since:
    Aug 2013

    Posted 29 Aug 2013 Link to this post

    Can anybody - please help me here

    Pratik
  3. UI for WPF is Visual Studio 2017 Ready
  4. Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 02 Sep 2013 Link to this post

    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 >>
  5. Pratik
    Pratik avatar
    8 posts
    Member since:
    Aug 2013

    Posted 02 Sep 2013 Link to this post

    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
  6. Pratik
    Pratik avatar
    8 posts
    Member since:
    Aug 2013

    Posted 04 Sep 2013 Link to this post

    Hristo - 

    Any findings?

    Thanks
    Pratik
  7. Hristo
    Admin
    Hristo avatar
    352 posts

    Posted 05 Sep 2013 Link to this post

    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 >>
  8. Pratik
    Pratik avatar
    8 posts
    Member since:
    Aug 2013

    Posted 10 Sep 2013 Link to this post

    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
  9. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 13 Sep 2013 Link to this post

    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 >>
Back to Top
UI for WPF is Visual Studio 2017 Ready