.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

How do I hide objects in design mode? (without using blend) Visual Studio 2010 for Silverlight

Posted By:      Posted Date: October 28, 2010    Points: 0   Category :WPF
 
Is it possible? I tried d:isHidden="True" only works in Blend. How about design mode in Visual Studio?


View Complete Post


More Related Resource Links

Visual Studio 2010 - Design Mode Error - "Error Creating Control"

  

Greetings,

I am using Visual Studio 2010.  I was debugging a web application and an exception happened and VS 2010 froze.  I ended the VS 2010 in the task manager and when I went back to developing, I found on every form for every ASP.net control I get:

 

Error Creating Control -

Error HRESULT E_FAIL has been returned from a call to a COM component.

 

Also I am unable to edit  the form or add anything from the toolbox.

 

Any help on this matter will be appreciated.

 

 

 

 


Error creating control contentplaceholder1 Visual Studio 2010 design mode

  

After I imported a VS 2008 web project to VS 2010, I can't view aspx pages that have master pages in design mode. The page design mode displays "error creating control - contentplacehoder1 object reference not set to an instance of an object." The project builds and runs fine though. I have only one master page that all other aspx pages reference and I don't have any nested master pages. Can anybody help me with this? Thanks in advance.


Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverlight 3

  
Learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.

Error trying to open WPF Xaml windows from Visual Studio 2010 in Blend 4

  
Hi I have Visual Studio 2010 ultimate, and expression Blend 4. I have created a WPF 4 project in Visual Studio and when i try to open the MainWindow.xaml file in Expression Blend 4 - i get an error stating that the file or folder is not a valid blend project. Is there something i need to install for visual studio to make blend able to edit WPF Xaml files in Blend 4? I can open blend4 and create WPF applications with no problem - its just trying to open a mainwindow.xaml created in Visual Studio 2010 in blend 4 when i get the error. I am running windows 7 32 bit. Cheers Rod. Mono / DotNet Rocks!

Visual Studio 2010 Design Editor Performance

  
Are there some recommended settings or updates that address the performance of the Visual Studio 2010 Design Editor.  The smallest changes max CPU usage for literally minutes Are there third party editors available?  

Can I use visual studio 2008 with silverlight design view?

  
Hi,          I'm using visual studio 2008. I have installed silverlight tool on visual studio 2008. But when I open a .xaml file. I cannot edit the page using silverlight in design view. Is there any way to use design view which I can drag and drop item from silverlight tool to the page for .xaml file?         Do I need to install any other tool which can allow to do so? Please reply and help. Thanks. Wesley

Problema con vista diseño de visual studio 2010 premium al instalar silverlight 4

  

Hola despues que instale el silverlight 4 y abrir el diseñor me da el siguiente error  "Could not load type 'Microsoft.Windows.Design.Metadata.FeatureKeyAttribute' from assembly 'Microsoft.Windows.Design.Platform, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" y no se como puedo hacer para resolverlo, ya que encontre el url del hotfix http://www.microsoft.com/downloads/details.aspx?FamilyID=902a7539-c4b5-4e54-b4c9-1432daabe1e8&displaylang=en pero no funciona, espero me puedan ayudar.

Gracias.


Problema con vista diseño de visual studio 2010 premium al instalar silverlight 4

  

Hola despues que instale el silverlight 4 y abrir el diseñor me da el siguiente error  "Could not load type 'Microsoft.Windows.Design.Metadata.FeatureKeyAttribute' from assembly 'Microsoft.Windows.Design.Platform, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" y no se como puedo hacer para resolverlo, ya que encontre el url del hotfix http://www.microsoft.com/downloads/details.aspx?FamilyID=902a7539-c4b5-4e54-b4c9-1432daabe1e8&displaylang=en pero no funciona, espero me puedan ayudar.

Gracias.


Can't add MDF file to Visual Studio 2010 Silverlight example project.

  

I have Visual Studio 2010 Ultimate.  And I've downloaded and installed Sql Server 2008 R2 Express.

I'm going through a Silverlight trainging module and using the 

Silverlight Business Apps: Module 2 - WCF RIA Services

example application.  The database included (as an .mdf file) won't attach in the project.  I get this:

"Connections to SQL Server database files (.mdf) require SQL Server 2005 Express or SQL Server 2008 Express to be installed and running on the local computer.  The current version of SQL Sever Express can be downloaded at the following URL:......"

But of course, I have the most recent version.  Now I did have SQL Server 2005 Express Edition installed before and it wasn't working either.  I got a different error concerning the version of the .mdf file.  In an attempt to resolve this I un-installed the 2005 version.  Now I've got a functioning default instance of Sql Server, but I notice it's not listed as .\SqlExpress as the 2005 version was.

Can someone help me get this working?  Do I need to change the name of the SQL Server instance in order to for Visual Studio to be able to attach?

I also can't attach the file using SQL Server Management Studio, but I think that's because the file has the path to the Log file somehow

Improving the Start-up Performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2

  

IMPORTANT NOTE: the Beta and Release Candidate builds of Visual Studio 2010 are now obsolete, since Visual Studio 2010 has now released to manufacturing.

See http://www.microsoft.com/visualstudio/en-us/download

___________________________________________________________

NOTE: The Release Candidate and RTM builds of Visual Studio 2010 does not need this configuration change

This post is to let you know about a configuration change (registry switch) which you can use to improve the startup performance of the WPF and Silverlight Designer in Visual Studio 2010 Beta 2.

Important:
1. Since this was a late-breaking change, you may experience some instability or increased Virtual Memory usage in some Visual Studio scenarios when using it. If you see such instabilities, please try removing the configuration change, and let us know about the problem you saw (you can do this by replying to this posting or by raising a bug on Connect).

2. You should only make this configuration change if you are a regular user of the WPF and Silverlight Designer, and are experiencing poor performance with it.

3. This configu

Unknown server tag - controls not rendering in visual studio 2010 design surface

  

I added a visual web part item to my solution.  I'm looking to drag some controls on to the design surface from the toolbox but they're not there.  For example, linqdatasource control and datapager control.  I tried to create them in the markup up but all I get is 'cannot render control' or 'unknown server tag.'

At the top of my .ascx file I have:

<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>

<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Register TagPrefix="SharePoi

Problems with Silverlight and Visual Studio 2010

  

I don't know if this is the right forum but I'm having some issues with Visual Studio 2010 on Windows 7 x64.  I can create and design a WPF project just fine but when I try to do Silverlight, I get the following error in the designer.  I can't access the visual designer or the XAML.

System.NotSupportedException

Could not find Microsoft Silverlight SDK v4.0. Plase make sure that the correct version of the Microsoft Silverlight SDK has been installed.

at MS.Internal.Platform.SilverlightResolver.get_ReferenceAssemblyPath() at MS.Internal.Platform.SilverlightPlatform.ConfigureAppDomain(AppDomainSetup setup) at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String originalIdentifier, Boolean isGlobal, String identity, FrameworkName frameworkName, AssemblyName appAssemblyName, IVsHierarchy hierarchy) at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProviderWorker(String identifier, IServiceProvider provider) at MS.Internal.Package.VSIsolationProviderService.CreateIsolationProvider(String identifier, IServiceProvider provider) at MS.Internal.Providers.VSDesignerContext.CreateIsolationProvider(IServiceProvider provider, IVsHierarchy hierarchy) at MS.Internal.Providers.VSDesignerContext.<>c__DisplayClass1.<Initiali

ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview

  
Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.

Visual Studio 2010 Beta 2

  
This is a big deal. This isn't ".NET 3.6" - there are a lot of improvements of .NET 4, and it's not just "pile on a bunch of features so you get overwhelmed." I've been working with and talking to many of the teams involved and even though it's a cheesy thing to say, this is a really customer-focused release.

ASP 4 - Whirlwind Tour around .NET 4 (and Visual Studio 2010) Beta 1

  
There's a lot of stuff that's new and added in .NET 4, but not in that "overwhelming-I-need-to-relearn-everything" way. More in that, "oh, this is way easier/simpler now" way. Like, moving data around with ADO.NET DataServices is easy, binding with client templates is easy, there's F# if you need it, the "dynamic" keyword if you need it, Silverlight's already installed, oh, and the parallel stuff will freak you out, but in a good way.

Short Overview of SharePoint Features in Visual Studio 2010

  
As you probably know, Visual Studio 2010 was announced earlier this week and it contains a lot of cool features and project templates for SharePoint developers. Below is a short overview for some of the SharePoint development related features and project templates.

Code spelling checker extension for visual studio 2010

  
Building a spelling checker for source code as an extension for visual studio 2010.
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend