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

Controls not visible in visual studio designer

13 Answers 2388 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 06 Nov 2011, 11:37 AM
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

13 Answers, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 08 Nov 2011, 04:47 PM
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 >>

0
Rob
Top achievements
Rank 1
answered on 08 Nov 2011, 04:59 PM
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,
0
Edwin
Top achievements
Rank 1
answered on 16 Mar 2012, 08:06 PM
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
0
Vlad
Telerik team
answered on 22 Mar 2012, 08:08 AM
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 >>
0
Brad
Top achievements
Rank 1
answered on 04 Apr 2012, 04:51 PM
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?
0
Yana
Telerik team
answered on 09 Apr 2012, 12:01 PM
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 >>

0
Rob
Top achievements
Rank 1
Iron
Iron
answered on 06 Oct 2013, 01:53 PM
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. 
0
Rob
Top achievements
Rank 1
Iron
Iron
answered on 06 Oct 2013, 01:55 PM
If it helps I am using Visual Studio 2013 RC and Telerik controls 2013.1.220.40
0
Rob
Top achievements
Rank 1
Iron
Iron
answered on 06 Oct 2013, 02:06 PM
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.
0
Yana
Telerik team
answered on 10 Oct 2013, 10:46 AM
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 >>
0
Rob
Top achievements
Rank 1
Iron
Iron
answered on 14 Oct 2013, 06:40 PM
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.
0
Yana
Telerik team
answered on 15 Oct 2013, 06:40 AM
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 >>
0
Kaveh
Top achievements
Rank 1
answered on 25 Jan 2018, 09:25 PM
Hi
I know when this problem starts, when drag and drop the RadWindow to your MainWindow! I tested it, but maybe some other controls do something like this but I don't know which of them.

Regards,
Kaveh
Tags
General Discussions
Asked by
Rob
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Rob
Top achievements
Rank 1
Edwin
Top achievements
Rank 1
Vlad
Telerik team
Brad
Top achievements
Rank 1
Yana
Telerik team
Rob
Top achievements
Rank 1
Iron
Iron
Kaveh
Top achievements
Rank 1
Share this question
or