Controls not visible in visual studio designer

13 posts, 0 answers
  1. Rob
    Rob avatar
    2 posts
    Member since:
    Oct 2010

    Posted 06 Nov 2011 Link to this post

    I have a solution that uses many telerik wpf controls (grid, busyindicator, tabcontrol etc.). None are showing in the visual studio designer until I clear out hidden build folders (obj/debug etc.). There are simply white blocks where the control should be. Where this is a real issue is where the busyindicator is wrapping the whole window. All of the window controls wpf base and/or telerik controls are invisible.

    If I create a new solution and simply drag controls on to a new window the controls show up fine. 

    Clearing out the hidden build folders and reloading a window xaml file shows the controls until i build at which point they disappear.

    Can anyone assist with this please.

    I  am using Q2 2011. 

    Many thanks
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 08 Nov 2011 Link to this post

    Hi Rob,

    Odd behavior indeed! To my regret I cannot suggest a direct fix for we haven't come across that. Is it possible for you to pack the solution, open a support ticket and send the archive to us for a review?

    Kind regards,
    Erjan Gavalji
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Rob
    Rob avatar
    2 posts
    Member since:
    Oct 2010

    Posted 08 Nov 2011 Link to this post

    Hi Erjan,

    It's not really viable to package the application up but have included a screengrab of the problem I mention. As you can see the grid control isn't showing in the designer. As soon as I run the app the grid is shown correctly.

    Any ideas?

    Many thanks,
  5. Edwin
    Edwin avatar
    14 posts
    Member since:
    Mar 2012

    Posted 16 Mar 2012 Link to this post

    I am running into a very similar problem.  If I create a new solution and start adding Telerik controls, they show up fine on the designer.  However, I am trying to work on a very simple app which already has a RadGridView control and a button.  The grid control shows up fine on the designer but if I try to add any new Telerik controls to the design window, they only show as a blank rectangle.  I tried the suggestion by Rob here, but it still does not work after clearing the build folders.  I am using the Q1 2012 version of the controls.

    Any assistance would be greatly appreciated.

    Edwin
  6. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 22 Mar 2012 Link to this post

    Hello,

     Is this .NET 4 or .NET 3.5 application? Can you verify if you are using the relevant version of our assemblies - are they 3.5 or 4.0?

    Greetings,
    Vlad
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  7. Brad
    Brad avatar
    2 posts
    Member since:
    Aug 2011

    Posted 04 Apr 2012 Link to this post

    Have similar problem. Just upgraded to WPF Q1 SP1 and now where we are using the RadBusyIndicator, it does not show up at design time in Visual Studio. When you run the project it works fine. Just tried creating a new project because I was going to submit a support ticket and the new project works fine no problems. We have to comment out the radbusyindicator to view its content. This is the only control that appears to be exhibiting this behavior. Any ideas?
  8. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 09 Apr 2012 Link to this post

    Hello Brad,

    We've tried to reproduce the design-time issue with RadBusyIndicator but without much success.  We cannot help further without observing the problem at our side, so it will be really helpful if you could isolate it in a simpler project.

    Greetings,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  9. Rob
    Rob avatar
    17 posts
    Member since:
    Feb 2012

    Posted 06 Oct 2013 Link to this post

    This issue seems to have returned under certain circumstances.

    I have taken a project targeted at .NET 4.5 and made it in to a .NET 4.0 project. I have removed the references to the Telerik .NET 4.5 dlls and added references to the .NET 4.0 equivalents. After doing this the Telerik controls do not show either at design time or run time. 

    I have the busy indicator in a window which effectively shows a blank window even with the IsBusy property is set to false. Buttons/grids etc. do not show in a similar way. I can reference the instances through code but can't seem them. Is this an issue with mixed references somewhere? I have cleaned the solution and rebuilt but it hasn't helped. 

    I am using exactly the same XAML and code as the 4.5 version. I have attached a screenshot to show the behaviour. 
  10. Rob
    Rob avatar
    17 posts
    Member since:
    Feb 2012

    Posted 06 Oct 2013 Link to this post

    If it helps I am using Visual Studio 2013 RC and Telerik controls 2013.1.220.40
  11. Rob
    Rob avatar
    17 posts
    Member since:
    Feb 2012

    Posted 06 Oct 2013 Link to this post

    I had added the NoXAML components which would kind of explain it I think? Changed them to the XAML versions and the controls show at runtime. Still no designer view though.
  12. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 10 Oct 2013 Link to this post

    Hi Rob,

    When you're using NoXaml assemblies, you should merge separately the needed xaml files, please check the following article for more details - Implicit Styles.

    We've tested Q1 2013 version in the Visual Studio 2013 RC and the controls are shown in the designer without a problem at our side. Have you tried to delete bin and obj folders and then rebuild the  solution?
    Also have you installed the controls or you're using the zip file? Please make sure that the folder from where you've referenced the Telerik assemblies contains the design folder.

    Regards,
    Yana
    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 >>
  13. Rob
    Rob avatar
    17 posts
    Member since:
    Feb 2012

    Posted 14 Oct 2013 Link to this post

    Hi Yana,

    I found, by accident, that returning and reopening Visual Studio the following day restored the designer functionality. Not sure why this should be but it is currently fine.

    Many thanks.
  14. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 15 Oct 2013 Link to this post

    Hi Rob,

    I'm glad to hear that the issue is resolved.

    Regards,
    Yana
    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