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


Post New Web Links

how to quick navigate to the definition of StaticResource from VS2010 xmal designer

Posted By:      Posted Date: April 14, 2011    Points: 0   Category :JQuery
 

Hi all,

Is there a quick way to navigate to the definiton of a Resource when reading xmal in VS2010.  For example, i have a line in a xmal file.

<ListBox x:Name


View Complete Post


More Related Resource Links

Why is the WPF/XAML Designer in VS2010 unable to resolve my StaticResource references?

  
I have a WPF 3.5 app that was rendering properly in both the VS2008 Designer and at runtime. Since upgrading to VS2010, the Designer is no longer able to resolve any of my StaticResource references. Everything still renders correctly at runtime.

Quick Note: Using SharePoint Designer 2010 to Work with Web Parts

  
Learn to create an XSLT List View Web Part within SharePoint Designer 2010 that displays a list of employees on the Home page of local web site.

VS2010: Switching tabs in wpf designer

  
Hi, I have a problem with the WPF designer in VS 2010. I have a WPF UserControl which contains a TabControl with several Tabs (TabItems).  It was always possible to switch the tabs in the designer to see the content of the individual tabs. However, suddenly this stops working. I can not switch the tabs anymore. [EDIT] Seems to be a known issues? https://connect.microsoft.com/VisualStudio/feedback/details/531868/wpf-editor-tabcontrol-issues Workaround does not work for me (or I do not understand it correctly)... [/EDIT] Any ideas? Thanks in advance. Jus  

VS2010 designer problems with custom markup extensions returning FontFamily

  
App.xaml: <Application x:Class="CustomMarkup.App"              xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"              xmlns:int="clr-namespace:CustomMarkup"              xmlns:ext="clr-namespace:ExternalMarkupExt;assembly=ExternalMarkupExt"              StartupUri="MainWindow.xaml">     <Application.Resources>         <Style x:Key="MyStyle">             <Setter                  Property="Control.FontFamily"                  Value="{ext:ExtMarkupExt {x:Static int:Resources.FONTFAMILY_NAME}}"/>         </Style>     </Application.Resources> </Application> MainWindow: <Window x:Class="CustomMarkup.MainWindow"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x=&quo

Generated MainWindow.xaml crashes VS2010 when you open the designer

  

In my system which is running Windows 7 Enterprise X64 I have a problem viewing some XAML files. At least one of my project XAML files sometimes crashes VS2010 if I open it in the designer or try to view it with Internet Exlorer 8 or Windows Presentation Foundation host. It also happens if i try to display the MainWindow.xaml that is generated by VS 2010.

The contents of MainWindow.xaml are

<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
       
    </Grid>
</Window>

 

If I open the debugger when IE8 crashes, the failing stack frame is iefdm2.dll!03992071()

I assume it is some sort installatioin snafu or something but I would hate to have to re-install everything.

Can anybody suggest what the issue might be?


vs2010 silverlight designer error

  

Hi all,

After installing Visual Studio 2010 and Silverlight Tools for VS 2010, I tried to generate a new Silverlight project and got an error in the xaml designer. 

None of the .xaml files generated by VS can be opened in design mode.

I have the KB30319.348 installed. The error is reproduced below:

 

System.ArgumentNullException

Value cannot be null.Parameter name: parentContext

at Microsoft.Windows.Design.Metadata.ReflectionMetadataContext..ctor(IMetadataContext parentContext) at MS.Internal.Host.ProjectMetadataContext..ctor(IMetadataContext platformMetadata, AssemblyReferenceProvider referenceProvider) at MS.Internal.Host.ProjectMetadataContext.FromReferences(AssemblyReferenceProvider referenceProvider) at MS.Internal.Designer.VSDesigner.GetMetadataForDesignerContext(DesignerContext designerContext) at MS.Internal.Host.PersistenceSubsystem.Load() at MS.Internal.Host.Designer.Load() at MS.Internal.Designer.VSDesigner.Load() at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedView.Load() at MS.Internal.Designer.VSIsolatedDesigner.VSIsolatedDesignerFactory.Load(IsolatedView view) at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.LoadDesigner(IsolatedDesignerFactory factory, IsolatedView view) at MS.Internal.Host.Isolation.IsolatedDesigner.BootstrapProxy.Loa

Generated MainWindow.xaml crashes VS2010 when you open the designer

  

In my system which is running Windows 7 Enterprise X64 I have a problem viewing some XAML files. At least one of my project XAML files sometimes crashes VS2010 if I open it in the designer or try to view it with Internet Exlorer 8 or Windows Presentation Foundation host. It also happens if i try to display the MainWindow.xaml that is generated by VS 2010.

The contents of MainWindow.xaml are

<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
       
    </Grid>
</Window>

 

If I open the debugger when IE8 crashes, the failing stack frame is iefdm2.dll!03992071()

I assume it is some sort installatioin snafu or something but I would hate to have to re-install everything.

Can anybody suggest what the issue might be?


blend to vs2010 designer issues

  

hi all,

i'm using blend 4 for customize the default menuitem style. All ok, into the designer i can preview the ui correctly and when running ok too, but when i load the ui in the vs2010 designer this render the menuitems with a wrong width, all the items are very large. Why?
I have tested with a default template too, the same issues. I have do it: in blend have created a menu and populate with menuitem, choose Edit template -> Edit a copy then i save all.   


Roberto Pallucchini
*** Please mark as Answer, if this reply helps you***
*** Per favore Suggerisci come risposta, se la risposta ti è stata di aiuto***

InvalidOperationException in VS2010 WPF Designer on Visual State Manager

  

Hi,

When adding WPF styles through control templates and resourcedictionarys VS2010 throws an InvalidOperationException error in the designer on controls when certain properties are set, that link back to the Visual States. I thought this must be the way i was creating the Visual States (i am using Blend 4.0) but I am also getting the same error, even using the ControlTemplateExamples downloaded from the msdn site.  http://code.msdn.microsoft.com/Project/Download/FileDownload.aspx?ProjectName=wpfsamples&DownloadId=7741

I opened up the solution in VS2010, then opened MainWindow.xaml (split screen - designer and markup)

System.InvalidOperationException

'System.Windows.Media.Animation.ColorAnimation' animation object cannot be used to animate property 'Foreground' because it is of incompatible type 'System.Windows.Media.Brush'.

... there are 11 errors but the solution builds successfully and runs fine.

If you look at the markup in MainWindow.xaml and the first set of buttons, the first error is linked to the "IsEnabled" property

VS2010 designer errors with x64 configuration

  

With an empty x64 WPF project I can't import the project's own namespace. Can the WPF designer in VS2010 be used on a x64 project, or what am I doing wrong?

Below are the steps that reproduce this problem.

Using:Microsoft Visual Studio 2010 pro Version 10.0.30319.1 RTMRel
Microsoft .NET Framework Version 4.0.30319 RTMRel

Launch VS2010 IDE
File > New Project > WPF Application
 Targeting .NET Framework 4
 Name = WpfApplication1
 Solution name = WpfApplication1

Open MainWindow.xaml in xaml editor
add (xmlns:local="clr-namespace:WpfApplication1")

Designer error "Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'WpfApplication1' that is not included in the assembly."
Build solution (successful)
Error disappears

Open Configuration Manager
Click Active solution platform. Select <New...>
Select new platform as x64. Click OK. Close Configuration Manager.

Error reappears: "Undefined CLR namespace. The 'clr-namespace' URI refers to a namespace 'WpfApplication1' that is not included in the assembly."

Rebuild solution (successful)
Error remains and designer is now useless.

This may be similar to a previous post that strayed off topic.

SharePoint Designer: Sending parameters with "Navigate to Page" form action

  
I want to create a custom button in my SharePoint form that uses Form Actions that commit the changes in the fields and then navigate to a designated page.  This works very well.

Then I want to send a parameter with the URL, for example: http://.../customform.aspx?ID={@ID}.  SharePoint Designer offers this option, but I have not been able to make it work.  Every time it just sends the literal {@ID} instead of it's content.

Has anyone solved this issue?

The type initializer for 'Nested' threw an exception for BDC USING Application Definition Designer

  

Hi,

Is anyone know what this error could mean?

The type initializer for 'Nested' threw an exception.

when i am executing instance method using "Application Definition Designer" for BDC.

Same ADF file works fine locally but getting above error message when executing on server.(both sharepoint are different) and install on different machines.

When executing BDC catalog file in sharepoint. We are getting below error message.

An error occurred while retrieving data from CustomerBDC_Instance. Administrators, see the server log for more information.

Event log:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

- <System>

<Provider Name="Office SharePoint Server" />

<EventID Qualifiers="0">5703</EventID>

<Level>2</Level>

<Task>1330</Task>

<Keywords>0x80000000000000</Keywords>

<TimeCreated SystemTime="2010-10-22T12:20:39.000Z" />

<EventRecordID>42186</EventRecordID>

<Channel>Application</Channel>

<Computer>[LOCAL COMPUTER ADDRESS]</Computer>

<Security />

</System>

- &l

Is it possible to use SP Designer once your site is in VS2010?

  

According to the Microsoft articles I've read, there's a way to swap between VS2010 and SP Designer to write code and create lists.

I have not found this to be the case as once I export the site, and I import it into VS, I can no longer use the SP Designer.

 

Any ideas?

Our goal is to not have to code the entire site in VS2010, but we need to update the production box.  I've read some articles on having more then 1 developer on the project and thought if I could reproduce that, then it would be the same but I haven't found a way to get the site's new objects I create back into the site.

 

 


Hosted Designer: Populating the toolbox with the standard activities as per VS2010

  
In the examples there is code like below that adds Activities to a Toolbox. However, it is a bit of a pain to re-create VS2010 Activities Toolbox in this manner with the correct Category structure. Also Activities added in this manner don't have the correct icon and tooltip information.

Is there a way to create the Toolbox automatically for given assemblies as VS2010 does?

//Create the ToolBoxControl

 

 

ToolboxControl ctrl =

ASP.NET 4.0: WebForm Routing (quick n dirty version)

  
One of the things we're adding in ASP.NET 4.0 is built-in support for using Routing together with WebForms. Now, I'm totally aware that this is possible to do already and that a number of people have posted ways of doing this with the Web Routing feature which shipped with ASP.NET 3.5 SP1. We're just adding some features to make it easier to do

SharePoint Designer

  
This video series shows you how to quickly and easily build complex business solutions on the SharePoint platform. Microsoft Office SharePoint Designer 2007 Business Administrator Training is a one-and-a-half hour, 300-400 level training series, produced in collaboration with the SharePoint Product Team and Total Training

Visual Studio closes itself by opening aspx-Page designer after Windows Update

  

Hey Guys,

I've a problem with my Visual Studio.

On the 13th of August 2010 i installed a Windows update on my vista sp2 pc. For this date my Visual Studio 2008 sp 1 always has closed itself by opening an aspx-page in designer view. There is no error message just closing the window. I restored a backup of my windows from the time before updating it and it helped, i could open aspx pages in the design view till the update has been installed again automatically after rebooting the pc. I can't disable windows updates, cause it's my pc at work and safety is very important. I hope you could help me out of this disaster.


Thanks

Nik


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