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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Dataform in Expression Blend

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :WPF
Can Expression Blend 4 handle a Dataform control? I added a Dataform control to my xaml in VS 2010 and when I now open the same project in Blend it throws an exception. Also the reason i added it in VS 2010 was that I could not find the Dataform control in Blend. Am I missing a reference/namespace etc...?

View Complete Post

More Related Resource Links

Silverlight: Create Animations with XAML and Expression Blend


In this excerpt from his upcoming book, Laurence Moroney explains the basics of Silverlight animation and the animation tools available in Expression Blend.

Lawrence Moroney

MSDN Magazine August 2008

Where is "projection" in Expression Blend 4???

I've just installed the demo version of Blend and I created a new wpf (.net 4) project. I drew a rectangle and now I want to change it's projection values. I can't find it in the "properties" anywhere, nor how to make it show there... Help????   Thanks

"Could not find default endpoint element that references contract " @ Expression Blend @ Design Time


so, in Expression Blend, and only there, during design time i get an error:

"System.InvalidOperationException was unhandled by user code

Could not find default endpoint element that references contract 'GBAUploadService.IGBAUploadService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element."

this doesn't happen in Visual Studio 2010, and of course the service itself works flawlessly.

any ideas?


the code triggering the exception is part of a ObjectDataProvider, which consumes a web service in code-behind:


  public class FileGroupsDataProvider
    public BaseUploadJob[] GetFileGroups()
      if (Assembly.GetEntryAssembly() != null)
        using (GBAUploadServiceClient gbaUploadServiceClient = new GBAUploadServiceClient())
          BaseUploadJob[] baseUploadJobs = gbaUploadServiceClient.GetFileGroups();
          return baseUploadJobs;
      return null;

An Expression Blend behavior to return the TreeView SelectedItem


Like all developers I eventually needed the SelectedItem of a TreeView in my ViewModel.  My requirement involved allowing a MenuItem to be enabled or disabled depending upon which TreeView node was selected.  My solution is a behavior based off of a forum answer provided by the good Dr. WPF.  The code  for the TreeViewSelectedItemBehavior class and some simple examples of using it are below:  Any suggestions for improvements are welcome. 

    public class TreeViewSelectedItemBehavior : Behavior<TreeView>
        public TreeViewSelectedItemBehavior()
        public static readonly DependencyProperty SelectedTreeViewItemProperty = DependencyProperty.Register("SelectedTreeViewItem", typeof(System.Windows.Controls.TreeViewItem), typeof(TreeViewSelectedItemBehavior), new PropertyMetadata(null));

        public System.Windows.Controls.TreeViewItem SelectedTreeViewItem
            get { return this.GetValue(TreeViewSelectedItemBehavior.SelectedTreeViewItemProperty) as System.Windows.Controls.TreeViewItem; }
            set { this.SetValue(TreeViewSelectedItemBehavior.SelectedTreeViewItemProperty, value); }

        protected override void OnAttached()

"Open in Expression Blend" feature in Visual Studio does not work

When I right click on a xaml I do not see the option "Open in Expression Blend". I have installed and reinstalled and reinstalled ... Expression Studio Ultimate (licensed under Dreamspark) but I saw no solution for this problem.

How "uninstall the Expression Blend 4 sdk"?


I've got the problem described here http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/406c3c85-e541-4cd2-82ad-15da392d180b and here http://social.msdn.microsoft.com/Forums/en-US/vswpfdesigner/thread/2cfaf28f-80af-49ee-8408-07b4a8e0e964.

In the latter thread it is suggested that uninstalling Expression Blend 4 SDK seems to help. How would I do that? I don't seem to find it in Control Panel, Add or Remove Programs, Visual Studio 2010 nor anywhere in the VS 2010 menus.

I have VS 2010 Ultimate with no add-ons or extensions.



Changing background Color of a custom slider when IsEnabled = False (Expression Blend)


I have a customized slider control. When the control is set to IsEnabled=false, the color changes to the default desabled color. How do I change this to a different color in Expression blend? I have tried unchecking IsEnabled property in Expression Blend, and changing the color, but is still takes the default disabled color. 


Would appreciate if anyone knows how to do this using Expression Blend


Thank you


Design view missing in expression blend 4

When i open my project (its not a silverlight project btw just a standard)  i can only see my code and the xaml but no actual design view, but if i open the project in Visual Studio i can see my forms, this is really annoying as im in the middle of a project and also if i open other projects in EB i can see them fine so just his project, any help please?

[How??] Lamda expression with ByRef parameter


How to write lamda expression with ByRef/ref parameter in c# ??

The code below causing syntax error:

item.OnAction = (p1, p2, ref p3) => {
   return true;

item.OnAction = (p1, p2, & p3) => {
   return true;

Express Yourself: Encoding Videos Using Microsoft Expression Encoder 3 SDK


Video on the Web involves huge amounts of data. Learn the best way to manage and move that data with the help of Microsoft Expression Encoder 3.

Adam Miller

MSDN Magazine June 2010

Security Briefs: Regular Expression Denial of Service Attacks and Defenses


Microsoft security expert Bryan Sullivan believes denial-of-service blackmail attacks will become more common as privilege escalation attacks become more difficult to execute. He demonstrates how to protect your apps against regular expression DoS threats.

Bryan Sullivan

MSDN Magazine May 2010

Data Points: Data Validation with Silverlight 3 and the DataForm


In this month's column, John Papa shows you how the DataForm control works and how it can be customized.  He presents in detail a sample application that uses several features to bind, navigate, edit and validate data using the DataForm.

John Papa

MSDN Magazine October 2009

Silverlight: Create a Custom Expression Encoder Publishing Plug-In


Laurence Moroney demonstrates how to employ the Expression Encoder plug-in APIs by building and debugging a simple FTP upload plug-in.

Laurence Moroney

MSDN Magazine February 2008

Hanselminutes Podcast 227 - Inside Expression SuperPreview with developer Mike Calvo

Scott talks to Mike Calvo, a Microsoft Lead Developer based out of Minnesota (!) about Expression SuperPreview. SuperPreview helps developers and designers with cross-browser CSS and HTML issues. How'd they build it and with what? What's inside? How does the cloud fit in and how do they support Safari? I played with SuperPreview a bit last year, but started looking at it again last month when I noticed that version 4 has introduced support for Safari on Mac via a Cloud-based Remote Service. I fired up Expression SuperPreview 4, and saw this: Then I signed up: Which enabled Mac Safari for this initial beta. I assume they'll add a pile of other browsers. If I don't see immediate browser support for ALynx, the Amiga port of Unix...(read more)

Help with regular expression


I am using this regular expression: /.*-lyrics-.*$

and I need the expression find urls like this:

and it do really does that!

The problem is that it finds also this URL:

Whar regular expression should I use to exclude urls that end with /lyrics ?

Thanks :]



Regular Expression to Match


Here is the kind of text I want to match via a regular Expression

The id="dgSchedule" is always present in the TAG but its location may differ

The table is span over multiple line/contains white spaces/tabs...

I have the regular expression to match the start and end tag respectively over a single line

\<table .*\>


The problem is to match the whole table span over multiple lines

<table cellspacing="0" rules="all" border="1" id="dgSchedule" style="border-style:None;height:100%;width:100%;border-collapse:collapse;">
	<tr class="blackbar" align="center" style="background-color:#7FB4DE;font-family:Verdana;font-weight:bold;height:20px;">
		<td>From Place</td><td>To Place</td><td>Time</td><td>Bus Type</td>

	</tr><tr style="background-color:#DEECF5;">
	</tr><tr style="background-color:#EFF5FA;">
	</tr><tr style="background-color:#DEECF5;">


asp expression bound to user control parameter?


How can I get pass the DataKey of a GridView to a usercontol, preferably without code behind.

Why doesn't this work:

<ucOrderDetails:AJAX_OrderDetail ID="od1" runat="server" OrderNumber='<%# GridView1.SelectedValue.ToString() %>'  />

GridView1 is just a list of orders with a DataKey of OrderNumber.

od1 is not inside of a databout control, does it need to be?

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