-
- Triggers collection members must be of type EventTrigger
by AdamCKing
- 3 Replies
- Last post
by AdamCKing
- In the following code I am getting the error in the title, could someone please explain to me in what circumstances I am not allowed to use data triggers
Code Snippet
< ContentControl x:Name = " StateList " Width = " Auto " Height = " Auto " HorizontalAlignment = " Stretch " VerticalAlignment = " Stretch " Grid.Co
-
- get notified about childdren propertychanged
by bitbonk
- 13 Replies
- Last post
by bitbonk
- Is there a way to get notified about dependency property changes of children in the logical tree I want the a Grid to notify me (fire an event or something) in case one of its children that is a Textbox changed its TextProperty . Note that children of the grid change at runtime and it might well be possible that there are no children that are textboxes.
-
- How can i handle null values with Aggregation(sum)
by devnet247
- 6 Replies
- Last post
by devnet247
- Hi,
I have come into a situation where my query throws an exception
"The null value cannot be assigned to a member with type System.Decimal which is a non-nullable value type."
I have 2 tables Customer and Account
The customer table has record but no record exists for the account table so when I do the following in my projection
var sumTotalCredit= db.Account.Whe
-
- TextBlock, DocumentViewer, any document editing controls?
by Rob Ainscough
- 4 Replies
- Last post
by LesterLobo - MSFT
- I'm looking for a limited document editing control (staying 100% managed code) in VS 2008 .NET 3.5. Something similar to say WordPad.
DocumentViewer is for read only, so that will not work for me.
Not sure about TextBlock -- is this viable for editing and basic formatting of text/paragraphs
RichTextBox
What would you use
Thanks, Rob.
-
- listbox(part of custom control) not showing up
by lee d
- 4 Replies
- Last post
by lee d
- I encountered something like this before. I created a new project and that resolved the issue.
this is happening again. but this time around this is a part of something larger and I cannot do the same thing like before(Create a new project)
this is part of XAML of a control. the issue is with the ListBox.
if add this control to a window it works just fine.
add a second instance of
-
- Drawing a Bottom Border
by sianan
- 2 Replies
- Last post
by Atanas Koralski - MSFT
- I want to have a bottom border which spans a single row and two columns. Is there any way to do this
I tried playing around with the border object but didn't have any luck.
Thanks!
-
- BinarySecurityToken header
by Andrey Popov
- 4 Replies
- Last post
by Andrey Popov
- Hello!
I have following security header in soap message:
< o ecurity s:mustUnderstand =" 1 " xmlns =" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd " xmlns =" http://schemas.xmlsoap.org/soap/envelope/ " >
- < u:Timestamp u:Id =" _0 " xmlns:u =" http://docs.oa
-
- General Question: Help in WPF applications
by gumo
- 8 Replies
- Last post
by Bragi
- Hi,
how does WPF support context sensitive userhelp I couldn't find any of the usual suspects like WinForm's HelpProvider .
thanks
Gunnar
-
- Working with Subscribe-Publish
by GinaK
- 1 Replies
- Last post
by Michael Olivieri
- Is anyone familiar with the Publish-Subscribe project It's available online and I think it was written by people from IDesign.
I'm trying to figure out ways to save the Transient Subscribers info in the database in case the host server goes down. I've noticed the list of transient subscribers are retrieved by:
T subscriber = OperationContext.Current.GetCallbackChannel<T>().
Is it po
-
- WPF and Shader
by cochondinde
- 2 Replies
- Last post
by Peter S Antal - MSFT
- Hi, I would like to know if it is possible to use vertex and/or pixel shader on 3D object using WPF. I don't find any ressources about it. Thanks
-
- sample service doesn't work on Windows XP 64
by msdobrescu2
- 14 Replies
- Last post
by msdobrescu
- Hello, I tried to make a windows service that hosts a WCF service. Naturally, I've tried the sample first. It crushes raising an error: System.ServiceModel:Incorrect function at System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen() at System.ServiceModel.Channels.TransportManager.Open(TransportChannelListener channelListener)
at
System.ServiceModel.Channels.TransportManagerContain
-
- The LINQ Project
by vans_p_2c07ca
- 2 Replies
- Last post
by vans_p_2c07ca
- The LINQ Project In this video, LINQ is used to query XML files. This presentation is based on an earlier release of the Microsoft Visual Studio Code Name ¡° Orcas ¡± C# LINQ ... msdn.microsoft.com/data/ref/linq/ - 27k - Cached - Similar pages
-
- How to "step into Stored Procedure" to my SQL 2005 Database on my Windows 2003 Server
by Haiasc_123
- 14 Replies
- Last post
by Haiasc_123
- Hi all, I have a critical problem 1) myDB attached on SQL Server 2005 Develop under Windows 2003 Server 2) My PC client is XP SP2, after create a connection to myDB , I tried to debug my store procedure by " Step Into Store Procedure " on a sp_myStore from Server Explorer of Visual Studio 2008 but it issued an error " Unable to start T-SQL Debugging. Could not attach to SQL Server
-
- Rendering question when using a ScaleTransform
by Jeremy Chaney
- 4 Replies
- Last post
by Jeremy Chaney
- The primary view in my WPF application is contained within a scrollviewer and has a zoom control (slider). To zoom the view in and out, I apply a ScaleTransform on the ScrollViewer's content. This accomplishes the task of resizing the view, but it is causing drawing problems. I have overridden the OnRender() method in my view and I custom draw grid lines. My problem is that when I zoom out, my vie
-
- The Security Support Provider Interface (SSPI) negotiation failed.
by Dawa Tsering
- 7 Replies
- Last post
by Dawa Tsering
- I have WCF service hosted in a windows service with wsHttpBinding. In my client application, added service reference feature by using http://mytestsite.com:8001/MyServices.RecordsReceiver .
But I keep getting the error mentioned in the subject.
Any pointer or help will be greatly appreciated!
Here is my client config file:
< xml version = " 1.0 " encoding = " ut
-
- Strange data binding behaviour with nested ItemsControls
by ceilidhboy
- 1 Replies
- Last post
by lee d
- I'm seeing some strange & inexplicable behaviour with databinding on an ItemsControl nested inside another one. It seems like a bug to me, but maybe there's some subtlety I'm missing The idea is to display a list of countries horizontally, with the name of each country at the top of a column, and cities in each country listed underneath. I've done this using an outer ItemsControl has a horizo
-
- NavigationService.RemoveBackEntry
by h1
- 8 Replies
- Last post
by h1
- Hello,
I'm trying to remove all the pages in my journal from a navigation service.
Code Snippet
while (_navigationService.RemoveBackEntry() != null ) ;
The first itration works great. THe second iteration returns null, eventhough there are elements in the _navigationService's back button (Journal).
Is there anotherway I can do this
Or should I jus
-
- WCF and CAB
by dhiv
- 4 Replies
- Last post
by dhiv
- Hi
I am creating a WPF CAB(Smart Client) application which uses WCF services with callbacks.
I have a requirement to call a CAB Event publisher from a WCF client's callback method, , so that the event subscibed modules can execute.
When i am trying to call the global event, throws a "Object reference not set to an instance of an object". I think the problem should be in
-
- Cannot locate resource 'window1.xaml'
by Allan Cady
- 14 Replies
- Last post
by Jeremiah Morrill
- I have a WPF app that I built from scratch using Visual Studio 2008 Beta 2. It compiles and runs fine in the folder where I created it originally.
I got it to a point where I was ready to commit it to posterity, at which point I checked the solution into our source control repository (Subversion). When I check out a clean copy, I can build, but I get the following exception when I try to r
-
- Need some pseudo code for a "simple" scenario
by Senkwe Chanda
- 2 Replies
- Last post
by Senkwe Chanda
- Hi guys,
Here's my dilemma. I have a canvas hosting a bunch of PathGeometry's that can be dragged around and re-positioned etc. Keeping in mind that these are all very non rectangular shapes, I'd like to be able to label the Filled areas of the shapes with text. So the end result would be that both the shapes AND their corresponding text would move in unison when I darg the shapes about.
Any
-
- Transitioning to WPF
by Little Miss Sunshine
- 3 Replies
- Last post
by Jeremiah Morrill
- Hi all, We have a legacy application written using MFC/Win32 GDI whose primary function is to display JPEG images from various sources (e.g. cameras) at a constant frame rate (which can be up to 30 frames per second). On a given target hardware our legacy app can display 20 "160x120" jpegs at 5 fps consuming about 30-40% CPU. For JPEG decoding we use Intel's JPEG decoder which is based o
-
- Optional arguments consuming WCF service.
by Craig Main
- 1 Replies
- Last post
by Nathan Anderson - MSFT
- Hi,
I am using basicHttpBinding to create a WCF service that is being consumed from a Studio 2005 web service reference.
All the scalar arguments to the method calls are accompanied by a bunch of horrible IsSpecified boolean arguments. If I wanted such a cludgy interface I would have added the booleans myself
How do I specify that these arguments are in fact not optional
The c
-
- Empty <wsdl:types>
by Nikeru
- 9 Replies
- Last post
by Christian Weyer
- Hi.
I am making an application using WCF. I replacing Old Web Service with WCF Service. It is need for me that new WCF Service will interoperable with old clients, which works with old Web Service.
Here example of WCF Service code and generated wsdl:
WCF Service:
using System;
using System.Collections.Generic;
using System.Text;
using System.Servi
-
- Connection Issues
by arvatos
- 0 Replies
- Last post
by arvatos
- Hello
We are experiencing some problems with connections to the server in one the applications of a customer.
We have an scenario in which various clients connect to one server. As the server acknowledge clients of some operations we are using a custom dualHttp binding (it compress messages).
< customBinding >
< binding name = " DualHttpCompressio
-
- Linq to SQL Creating Databases
by RCXDude
- 12 Replies
- Last post
by Dariusz Jankowski
- I'm trying to use DataContext.CreateDatabase(), and I can't get past the following error: Cannot open database "testdb" requested by the login. The login failed. Login failed for user 'user'. The following code causes the error:
Code Snippet - ERROR
// Causes error on last line
SqlConnection connection = new SqlConnection( );
SqlConnectionStringBuilder builder