-
- How to return one to many relationships
by DLINQ
- 2 Replies
- Last post
by Matt Warren - MSFT
- I am trying to use the Northwind database and get all the Categories and their products. I can get the query to work but I need more information. I need CategoryID, CategoryName and Products of that category. Currently, I am using the following query: from c in northwind.Categories join p in northwind.Products on c.CategoryID equals p.CategoryID
-
- DependencyProperties vs INotifyPropertyChanged
by dr5274
- 7 Replies
- Last post
by Josh Smith
- I'm building some business objects that represent data and collections of data. Currently these objects all implement INotifyPropertyChanged, as well as a strongly typed event handler. The INotifyPropertyChanged seems to be keeping WPF clients happy, and the strongly typed events allow CLR clients to not go back to the object for data.
There's questions amongst our developers as to whether
-
- XAML and HOW IT WORKS
by ivanatilca
- 6 Replies
- Last post
by Zhou Yong
- I have not one but lots of question about XAML.
First of all i've always worked in Flash Macromedia and worked with timelines and so...
1)but when i started with XAML i noticed that there is not a way i can control de timeline.. if there is..please help--
2)The other thing is i dont understand how to load another window2.xaml into window1.xaml... let me explain it better...I h
-
- How to know parents width and height
by lpx
- 6 Replies
- Last post
by lpx
- Hi, I have a canvas placed inside a border, which by is turn is placed inside a grid. I want to make the canvas have a ratio based on a resolution (for example 1024x768). So, i want to maximize the width and make the height depend on the first. To do that i need to know from the canvas parent how much i have for the width. I was trying to do that with the folowing line:
Code Snippet
-
- My WPF doesn't work. Why?
by Caiter
- 4 Replies
- Last post
by sfedorov
- My OS is windows 2003 sp2. I install the .net 3.0 sdk, windows sdk and WPF extend for VS2005. It looks good. I mean I could create a XAML for Browers project, and could add some code in it. But when I compile the project and want to run it, the result looks not good. For example, 1. when you move the mouse over the button, by default, the button's border colour should be changed. But my project do
-
- Incorrect order for binding.
by KevinBurton
- 1 Replies
- Last post
by Varsha Mahadevan - MSFT
- I have a form that is filling in the data first by row then by column. Let me explain. I set the binding as:
Code Block
this .stackPanel1.DataContext = from p in db.PurchaseOrders
from of in p.OrderForms
from li in of.LineItems
where p.TrackingNumber == "1281079"
select new { p, of, li };
My XAML looks like:
-
- One Way Operation Returns a Fault Message?? - Binding dependent
by Simon Gittins
- 3 Replies
- Last post
by Simon Gittins
- I have code where a service is composed of multiple ServiceContracts, and where a client proxy to the service is made up of (possibly different) ServiceContracts. Every operation is OneWay: [ServiceContract] public interface A { [OperationContract(IsOneWay = true)] void DoA(); } [ServiceContract] public interface B { [OperationContract(IsOneWay = true)] void DoB();
-
- Loading cursor as resource from assembly? Should be simple!
by DiamonDogX
- 6 Replies
- Last post
by Walt Ritscher
- I am simply trying to load a custom cursor from one of my assemblies (MyAssembly). It is in a folder called Cursors. What am I doing wrong
Code Block
private Cursor _openhandCursor = new Cursor ( ResourceUtilities .LoadResourceStream(
Assembly .Load( AssemblyName .GetAssemblyName( "MyAssembly.dll" ) ), "Cursors/OpenHandCursor.cur" ));
-
- Model namespace error
by Jarod Ferguson
- 1 Replies
- Last post
by Srikanth Mandadi - MSFT
- Is it possible to have a namespace with ".", as in Myapp.Entities
When I add a "." to my namespace, I get 'Model namespace "MyApp.Entities" is not valid'
-
- Loading cursor as resource from assembly? Should be simple!
by DiamonDogX
- 6 Replies
- Last post
by Walt Ritscher
- I am simply trying to load a custom cursor from one of my assemblies (MyAssembly). It is in a folder called Cursors. What am I doing wrong
Code Block
private Cursor _openhandCursor = new Cursor ( ResourceUtilities .LoadResourceStream(
Assembly .Load( AssemblyName .GetAssemblyName( "MyAssembly.dll" ) ), "Cursors/OpenHandCursor.cur" ));
-
- Possible to have WCF Client -> WCF Service -> WCF Service?
by Taylor Parrish
- 1 Replies
- Last post
by Taylor Parrish
- I have been working on a distrbuted system where I need to have a WCF Client consume WCF Service #1. WCF Service #1 needs to send information to WCF Service #2 (WCF Service 2 will run a few functions and respond back with a custom object). This could be accomplished by using multiple endpoints but in this case, I cannot, Service1 MUST talk to Service2 and the client should have no knowledege that
-
- A New Windows Application, WPF or Forms?
by Gravy
- 7 Replies
- Last post
by SerialSeb
- Hi
I plan on starting a new Windows Desktop project soon and I will surely want some places to be WPF, but the majority of the forms will be Windows Forms 2.0.
Is there any advantage / disadvantage for me using a WPF application type (template) instead of a Windows Forms Application template from VS 2005, or because the majority of the application will be windows forms am I better off using
-
- Problem on validation in Listview
by Makube
- 7 Replies
- Last post
by volleynerd
- I have data bound listview, and listview is binding to one object class "Records" (the properties of this object is assigned instantly with data which come from an external file source). The listview could be editable and so one custom control "EditBox"is built in it. Now I want to check validation for each editable cell in the listview when user input the value. I use Validati
-
- Service in Offline mode give me "A call to SSPI failed" ???
by vRITHNER
- 0 Replies
- Last post
by vRITHNER
- hi,
I've develop a WCF service and a Test client and both are running on my pc;
Even if I don't need anything from the web, the client + service are running correctly only when my network card is enabled;
when I want to run my application in an offline scenario, I got an error messag " A call to SSPI failed";
My pcs are inside a domain and the security mode of the se
-
- Recommended machine hardware for Vista / WPF?
by AlexCr
- 3 Replies
- Last post
by Alan Cobb
- Hi, Any recommendations about building a Vista / WPF machine I guess the graphics card is the biggest reason to wait longer Are the DirectX 10 cards solid at this point I was thinking about Core 2 Duo for the CPU and maybe $400-$500 for a DirectX 10 graphics card. Is a quad-core CPU worth it for Vista / WPF / anything Thanks, Alex
-
- When is WCF going to get out of CTP cycle and released integrated with visual studio
by Vijay_Pandey
- 5 Replies
- Last post
by Vijay_Pandey
- Hello
Does anybody know when WCF/WPF will be out of CTP and finally released integrated with visual studio.
-
- any ideas on how to implement deskband
by lee d
- 10 Replies
- Last post
by Bigsby
- looking for Ideas on how to implement deskband that will host WPF controls and be available in Taskbar
Thanks
-
- Fatal Execution Engine Error
by Eric Wellnitz
- 14 Replies
- Last post
by turczytj
- Ever since the Beta II CTP, we have been getting intermitent "Fatal Execution Engine Error"s when an IIS hosted service receives its first request. This seems most common after we modify the service's code and dont issue an iisreset before running the client.
The error is occuring on all of our development machines (XP IIS 5.1) and our development servers (Server 2k3 IIS6).
Has an
-
- Cannot create database connections by using the wizard
by Mathias Raacke
- 6 Replies
- Last post
by Ogre
- When I try to use a wizard to create a database connection, I always get the error "Unable to find the requested .Net Framework Data Provider. It may not be installed."
One way to reproduce this is: - Tools > Connect To Database - Choose a provider, for example "Microsoft SQL Server 2005 Compact Edition" - Choose a database file, for example northwind.sdf - Click "Ok
-
- WCF Events sample
by RodionP
- 5 Replies
- Last post
by Joao da Nobrega
- Hello,
I just started playing with WCF and I am faced with a task to create a broadcasting server of some sort.
Basically I need to be able to allow subscribers register itself with the server and receive events from that server. Ideally, I'd like to see some kind a sample that does that.
Currently, I use .NET Remoting to propogate events, would love to see the same thing with WCF
Than
-
- Search for text in RichTextBox
by Cornel Gav
- 1 Replies
- Last post
by LesterLobo - MSFT
- How can I search for a specified text in a richtextbox and where I find the text, to Bold it or to change it's Color in C# Thanks
-
- Calling a XAML Storyboard from C#
by Dvlnblk
- 2 Replies
- Last post
by Tamir Khason
- Hey all, I have a storyboard in my XAML and I want to know if there is a way to run that storyboard in C# (on a click event handler...I know how to make the click handler btw).
Thanks!
-
- WPF DatePicker
by senthil_cst
- 2 Replies
- Last post
by Marlon Grech
- Hi,
How to get the Date Picker Control in Xaml
Thanks
Senthil.
-
- Add buttons to the StackPanel inside a usercontrol
by AnushaD
- 7 Replies
- Last post
by AnushaD
- I have created a base control which has a stackpanel.
Now I am using this base control on a page. I want to add buttons to the stackpanel of this base control in Xaml. I can do it via code, but I wanted to do it in Xaml. Can someone please tell me if this is possible and if yes then how can I achieve this.
Thanks
Anusha
-
- why killed AcceptChanges and RejectChanges in March CTP?
by Firestrm
- 4 Replies
- Last post
by Firestrm
- Hi! Why are AcceptChanges and RejectChanges of DataContexts gone in Orcas March CTP Is there an alternative way to achieve the same behavior Or have I just missed something obvious My project depends on these procs, I don't know what to do... ThX!