-
- Focus, CheckBox in TreeViewItem
by arkhivania
- 2 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hello. I have a little problem. I have treeview and DataTemplate for ItemContentTemplate. DataTemplate contains image, text and CheckBox. It's work fine, but when user select one element by keyboard DownKey and push DownKey again he got focus on checkbox. So if user want to walk from one TreeViewItem to another by DownKey he must push DownKey two times. I want to use spacebar for checkbox and Up a
-
- vista and VS
by barkest
- 4 Replies
- Last post
by Paul Czywczynski
- Hi,
is there a current version of VS I can use with Vista
thank you
-
- Treeview and LINQ group
by variaas
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- So I have a dataset that is grouped using LINQ. Right now I have created a method to clear and rebuild a treeview on what grouping the user selects, but I'm wondering if I can do this via binding. Can anyone help Here's an example
Dataset - "Sample"
===========
|colA|colB|
-----------
| a | 0 |
| b | 0 |
| c | 1 |
| d | 1 |
===========
Tree
-
- possible release timeframe guidence
by JRMcFetridge
- 5 Replies
- Last post
by Damodar Periwal
- we have been testing Ling for SQL and are super impressed by the capabilities. e.g I was able to take an 8 Page Stored proc and reduce it to 20 lines of C#. This is a tool that can used to refactor most of an organization that is trapped in SQL Hell. However we can not make a move to spread Linq till we know more of pending target for release (even a RC build would satisfy us). Any guidence i
-
- The ITransactionLocal interface is not supported...
by Friendly Dog
- 4 Replies
- Last post
by Friendly Dog
- Hi:
I'm trying to use Access 2003 database in a WCF transaction. I got the error message
"The ITransactionLocal interface is not supported by the 'Microsoft.Jet.OleDB.4.0' provider. Local transactions are unavailable with the current provider.
I guess that Jet provider doesn't support System.Transactions. But is there a way to make Access 2003 database coorporate with WCF transaction
-
- FlowDirection, Expander
by Jan Kučera
- 4 Replies
- Last post
by Jan Kučera
- 1) Why has the WPF team dropped Near & Far alignment and reverted to Left & Right I consider that as quite big step back...
2) Do I have to explicitly set FlowDirection if I want to change it I was a little bit surprised when I used Arabic text and it was still left to right oriented. Do I have to check manually if the displayed language should be RTL and explicitly switch that in U
-
- LINQ Database Connection
by cosmicX
- 2 Replies
- Last post
by jwooley
- Just curious, how is the database connection in LINQ Is it remain the same as existing way, or there are special or easier method for performing a database connection Besides that, LINQ is a integrated query that we can use database commands in the programming language. So, can it perform statements like updates, delete others than retrieval TQ
-
- Persisting state when using Tab Control
by rrn
- 14 Replies
- Last post
by rrn
- I have a page with a tabControl consisting of two TabItems : TabItem-1 and TabItem-2. In my TabItem-1 I have a TextBox control (MyTextBox), the content of which I'm TwoWay binding to a business entity's property. Now my textBox uses a template defined in a Style and the style also has a trigger set where if the Validation.HasErrors property is true, change the Template of the TextBox to ErrorTempl
-
- scvutil can not export MetaData
by Melanie Culver
- 5 Replies
- Last post
by Melanie Culver
- Hi,
I have a problem exporting the MetaData for our project.
Here is the error message I get (the original message is in german, but I¡¯ve tried to translate it )
Der WZ.Services.Sso.Core.Contract.Service.IPaymentService.UpdateCreditCards-Vorgang verweist auf ein Nachrichtenelement [WZ.Services.Sso.20070423: ProcessStatus], das bereits aus dem WZ.Services.Sso.Core.Contract.S
-
- Deserialization [DataContract] using an ORM
by rta_llc
- 6 Replies
- Last post
by rta_llc
- I would like to deserialize an object (say Name --> (first,middle,last) ) in an ORM. The class, Name, is in an Object Relational Mapping (ORM) [namely NEO; similar to nhibernate]. Using DataContractSerializer does not allow me a means to create a relationship with the underlying Database easily. I couldderive from XmlObjectSerializer and process the incoming stream from there. I would then crea
-
- How to connect the SqlServer 2005 with Orcas Beta 1 Windows/Web Applications?
by Natesan
- 5 Replies
- Last post
by alazela
- Hi,
I've tried to connect SqlServer 2005 with Orcas Windows application but it is throwing the below exception when it tries to open connection with Database.
"Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
But the same code is working fine with VS 200
-
- Setting the UserNamePasswordClientCredential.UserName property
by -=B3N=
- 8 Replies
- Last post
by -=B3N=-
- Hi guys I'm trying to set the UserName/Password at runtime.
Code Snippet
private void button1_Click(object sender, EventArgs e) { proxy.ClientCredentials.UserName.UserName = textBox1.Text; proxy.ClientCredentials.UserName.Password = textBox2.Text; } This works fine, but if the textbox contents change, and I try to run this code by clicking the button again, I get InvalidOperation
-
- Beta2 Include() functionality change: less dynamic
by Pandaurae
- 5 Replies
- Last post
by Brian Dawson - MSFT
- While playing around with the JuneCTP, I was happy to find the Span.Include() functionality that allowed me to specify, before I executed the query, the nested properties I want populated in the single call. (I am working with EF on the middle tier, accepting requests from a consumer application.) I am a little put-out by Beta2 and it's changed Include() functionality.
I understand that EF
-
- Windows Activation Service and Deployment
by Will Perry
- 1 Replies
- Last post
by Khalid Aggag - MSFT
- I'm building an app which does some long running, essentially background work on the filesystem started on activation from an extenal process. The app has a UI allowing you to view the current status, add tasks etc, and i was hoping to loosely couple the two and allow cross network management by running that long running background work as a service and connecting to it using WCF. I'll be using Vi
-
- How does the data binding system know when a property is changed?
by Josh Smith
- 14 Replies
- Last post
by lee d
- I thought I had the whole WPF data binding system down cold. Today I stumbled across something which threw me back out to sea. According to my understanding of the data binding system in WPF, an object must somehow notify the "outside world" when one of its properties is changed if it wants the new value to appear in the UI. Either it can raise a PropName Changed event, implement INotify
-
- WCF hosted in a Windows service
by Alex Farber
- 6 Replies
- Last post
by the_magic_juan
- I have WCF server hosted in a Windows service, and UI client talking with it. If service is registered in user account (ServiceAccount.User), client can talk with it. If service is registered in system account(ServiceAccount.LocalSystem), client call fails with authentiation exception. How is it possible to talk with LocalSystem service
-
- Client state after FaultException
by herbjörn
- 4 Replies
- Last post
by Sam Jost
- Hi,
I have the following situation:
After the client gets a FaultException using a HTTP binding the clients state remains Opened.
After the client gets a FaultException using a TCP binding the clients state changes to Faulted, and it is rendered useless!
Why is the behavior different depending on the protocol of the binding Can I avoid this problem when I'm using TCP or do I have to re
-
- Accessing an object in XAML
by asinine
- 2 Replies
- Last post
by asinine
- I have been searching for quite a while how to make an object declared at the window level accessible in XAML but can't seem to find a solution. How could i make _myObject accessible in XAML in the following example:
public partial class Window1 : System.Windows. Window {
MyObject _myObject = new MyObject();
public Window1() {
InitializeComponent();
}
-
- Strange CommunicationObjectAbortedException behaviour
by stephenV
- 7 Replies
- Last post
by stephenV
- I currently have an event driven service running at fairly high speeds (a new message every 30-40 ms) and the data is coming through perfectly, however I continue to get a:
System.ServiceModel.CommunicationObjectAbortedException
"The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it has been Aborted."
I'm sligh
-
- visual c# express - debugger not working
by hordak
- 5 Replies
- Last post
by jlcard
- i have installed visual c# orcas express on my 64bit windows vista ultimate system and now i am not able to debug an application. i get the error:
Error while trying to run project: Unable to start debugging.
The components for the 64-bit debugger are not registered.
any ideas how to solve that problem a little confusing about that is the fact that the visual web developer orcas e
-
- Changing cursor to Wait during slow databinding
by Eduardo Coelho
- 5 Replies
- Last post
by Dr. WPF
- Hi,
I have a treeview bind to a class that works like a file explorer. When expanding a node (representing a directory) that has many subdirectories it takes a few seconds for the bind to complete and populate the sub-nodes as the class is building the collection with all the sub-directories down to the next couple of levels.
I would like to change the cursor to wait while this bind process
-
- UI-determined data needs via LINQ?
by SoopahMan
- 6 Replies
- Last post
by Roger Jennings
- Bravo to the C# team for making a language like LINQ a first-class language-extension with all of Microsoft's tools behind it, this really is revolutionary. It seems that LINQ's lambda expressions offer ASP.Net pages a major new opportunity: 1) Set a Datasource for all controls on the page 2) Let controls simply ask for data as though they were accessing object properties 3) The ASP.Net engine cou
-
- ScvUtil /dconly error
by Larry Guger
- 4 Replies
- Last post
by Larry Guger
- I am executing the following command line:
svcUtil /t:code http://localhost/WCFEmployeeService/EmployeeService.svc wsdl /dconly
and get the following error:
Error: The input read from 'http://localhost/WCFEmployeeService/EmployeeService.svc wsdl' is inconsistent with other options.
If I remove the /dconly switch there are no errors.
Suggestions
Larry
-
- Loading an array of bytes from a Pack URI
by MuscleHead
- 6 Replies
- Last post
by MuscleHead
- My xbap application is able to load images with pack URI's (ex: "pack://siteoforigin:,,/winter.jpg") using:
bitmapImage.BeginInit(); bitmapImage.UriSource = uri; bitmapImage.EndInit();
However, I don't know how to load an array of bytes using pack URI's. For example, with a normal http URI, I can do something like:
HttpWebRequest webRequest = ( HttpWebRequest ) HttpWebRequest .Crea
-
- WCF with JSON
by Prabhu_engg98
- 5 Replies
- Last post
by Nicolasbolbol
- Hi, In our project we have a requirement like calling a Service from a javascript for AJAX functionality. As of my knowledge WCF currently doesn't support JSON encoding type. I dont want to use webservices(asmx) for the above scenario. Planning to write a custom encoder using JSON. Help on this topic is very much appreciated. Regards Prabhu