-
- How to limit mouse cursor area?
by Vítor
- 6 Replies
- Last post
by Rainer Engblom
- Hello to all!
How I could limit the mouse cursor to specific area in WPF
Thanks
-
- TreeView Sort
by Ariel S
- 9 Replies
- Last post
by SwenTech
- Hello. Is there any way to sort the ItemsSource of a HierarchicalDataTemplate
I tried with a CollectionViewSource, but it seams that the Binding doesn¡¯t work.
I tried to use a Converter method, but the value uses an internal class (MS.Internal.Data.XmlDataCollection) so I can¡¯t sort it :(
Any idea
Thanks
-
- "Wildcard '##any' allows element" and XML-Signature/XML-Encryption
by ScottAnderson
- 2 Replies
- Last post
by ScottAnderson
- We are using contract first development and our contracts use XML-Signature and XML-Encryption. We are able to generate the code from the WSDL and XSDs to use in the WCF service, but using SvcUtil to generate a client from the WCF generated WSDL/XSD fails with the following error(s):
Error: There was a validation error on a schema generated during export: Source: Line: 1 Column: 53090
-
- Overload the callback to CollectionView Filter
by Tina999
- 2 Replies
- Last post
by Tina999
- The msdn example showed this way to setup the filter: public bool Contains(object de)
{
Order order = de as Order;
//Return members whose Orders have not been filled
return (order.Filled== "No" );
}
myCollectionView.Filter = new Predicate<object>(Contains); Does anyone know if there is a way to overload the method Contains I wanted to pass a second parameter to hel
-
- Handling Nullable DateTime and WCF
by Bravo2007
- 3 Replies
- Last post
by Hiten
- Hi,
Does anyone know any issue related to using Nullable DateTime in WCF I want to use the nullable date time in my service, but want to makesure it works well between non .net clients such as java,python etc and does not have any issue.
Also, in a sample, I have a property with nullable datetime, and I am passing that object to a service operation. From client wich is EXCEL, eventho
-
- WCF Proxy Problem
by raich
- 3 Replies
- Last post
by raich
- Hi,
My web pages connects to host through WCF call. I am using a tcp console for the same. All other pages are working, in only one page I get error: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
The data contract for the same contains an abstract class with 5 classes implementing it. Surprisingly, in the proxy, the abstract class
-
- Newbie question about message security
by pkr2000
- 8 Replies
- Last post
by Todd West - MSFT
- I've been playing about with binding and message security and I'm puzzled about how it works. When using HttpBinding I configure my client identity to use the User Name (principal) of the server and it works...fine. But what I don't understand is what is that doing I don't have to offer a password to authenticate or impersonate so what is this user name for
-
- Locating an element in a control template
by Kofoed
- 2 Replies
- Last post
by Eugene Dolinskyy
- First I'll present my scenario:
I have a UserControl which basically contains a PasswordBox that's defined in a Control Template ... and the control template is defined in the themes directory, in generic.xaml.
I'm trying to access the PasswordBox object that's contained in the ControlTemplate from code, but can't seem to get a reference to it. I've tried the following two methods,
-
- Default FontFamily for application
by JLLO
- 6 Replies
- Last post
by Chad Magendanz
- I want to create at style that will set the fontfamily for my entire application and allow me to change the font family in one place and have the new font show up throughout my application. I created the following style but my controls like my labels still default to segoe. How can I create a style that will set my all my controls to the same font family except where I override the style with a lo
-
- Table Valued Functions, Custom objects and the designer
by Ben Hall &#40;UK&a
- 1 Replies
- Last post
by Jay Hickerson MS
- Hello,
So I'm looking at LINQ again and I have come to a bit of a problem. I have a set of tables, which I want to return as a single custom entity for use within my application. I heard that by using Table Valued Functions, you can still have Linq pass work to SQL Server for processing - such as ORDER BY, SKIP and TAKE without having to do it in memory, unlike stored procedures.
So
-
- List of queries in Linq?
by NEROeS
- 4 Replies
- Last post
by NEROeS
- Hi! Maybe a simple problem, but I've no idea: I've a list of queries (array of string-snipets) and I would use LINQ to search through a list of news-headline, that have to contain these snipets -> every news-headline have to contain all snipets. Comparable to normal web-search. I've tried this in VB: 'loaded data into headlines before 'now try to get headlines, containing all search-snipets for
-
- ObjectDataProvider & CollectionViewSources issue
by sergun
- 2 Replies
- Last post
by Sam Bent - MSFT
- I have 1 ObjectDataProvider bound to DAL query method and many CollectionViewSources having it as Source.
Each CollectionViewSource is a source for some ComboBox's ItemsSource
(something like this:
< ComboBox ItemsSource = " {Binding Source={StaticResource streetsView}} "
)
When I add something to database and call ObjectDataProvider's Refresh()
all selections
-
- Menu rendering bugs ( possible related to VS2008 )
by John Dunn
- 3 Replies
- Last post
by Donald Roy Airey
- After installing the new VS2008 beta on my machine ( along with .Net3.5 I assume ), I'm having menus being rendered incorrectly the first time they are shown. This is especially a problem with Menus with custom control templates. For example, if I run the SimpleStyles.exe ( WPFSamples\Controls\ControlTemplateExamples ), the first time I display the menu it looks like this and the second time it
-
- SOAP authentication failed
by razvanz
- 14 Replies
- Last post
by Uma Lakshmi
- Hi,
I have browsed this forum, and I found similar question, but none of the solutions have worked for me, so maybe I am doing something silly. However, let me try to describe what I am doing (I am fairly new to wcf programming).
I managed to reproduce this same problem with the selfhost application (an example on the SDK, with the ICalculator).
The problem manifests itself only when the
-
- I always get this error viewing deployed xbaps.
by bpatters
- 1 Replies
- Last post
by bpatters
- What does this error mean I've tried everything and it just started recently and NONE of my published applications
can be viewed anymore. I've tried mage -cc and checked all my permissions etc.
Code Snippet
PLATFORM VERSION INFO Windows : 6.0.6000.0 (Win32NT) Common Language Runtime : 2.0.50727.1318 System.Deployment.dll : 2.0.50727.1318 (redbitsb1.050727-1300) mscorwks.dll :
-
- WCF speed issues
by drmK
- 7 Replies
- Last post
by Dave Cliffe - MSFT
- Help!
This thing is driving me crazy.
I have been trying to come up with a basic performance test on the WCF.
I have implemented already 4 different samples, and the best performace I can get is around 1000 messages per second with a 100% CPU load wich is pathetic.
Did try the WCF samples \TechnologySamples\Basic\Binding\Net\Tcp\ sample as well - still I get the same pe
-
- How to Get a C# variable into XAML
by Dvlnblk
- 3 Replies
- Last post
by Dvlnblk
- Hey All, how can I get a C# var into XAML...say a string Thanks
-
- What I'm missing in LINQ to SQL! Will something be in Beta 2?
by Edvin
- 1 Replies
- Last post
by Manuel Bauer
- Now it is about 2 weeks I¡¯m working on some real world ASP.NET application using LINQ to SQL. I found some features I really miss and I will be glad if there will be something supported in Beta 2 release¡
1.) Using common database columns in base class. I really miss this, because normally you always have some columns that are in most tables. With this I can remove more then 1000 line
-
- ComboBox popup size not updating
by Jan Ku&#269;era
- 10 Replies
- Last post
by Jan Ku?era
- Hello, let's have:
< Window x : Class ="WpfApplication1.Window1"
xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns : x ="http://schemas.microsoft.com/winfx/2006/xaml"
Title ="Window1" Height ="300" Width ="300">
< StackPanel >
< ComboBox Name ="comboBox1&q
-
- CheckBox Style not working
by TheStarSailor
- 4 Replies
- Last post
by TheStarSailor
- Hi,
I'm new to XAML and I'm trying to create a CheckBox with an inner border. I have the UI going, but it does not respond to any kind of events. I've tried setting Triggers for the Template. But that raised errors.
I've included the snippet that I created. It'd be great if anyone can help me out with this.
Here's the snippet:
< Style x:Key = " ChkBoxStyle "
-
- Binding Foreign Key to "Default" View (For Sorting)
by -&#61;B3N&#61;
- 11 Replies
- Last post
by -=B3N=-
- If I've bound a combobox or listbox to a "Groups" datatable and want it to sort alphabetically, I can simply say:
Code Snippet tblGroups.defaultview.sort = "GroupName"
and it does so.
However if I have another control which binds to the foreign key of this table "Users" (FK_tblGroups_tblUsers) and want this control to sort alphabetically by
-
- Can WCF help get through firewall?
by moondaddy
- 1 Replies
- Last post
by Todd West
- I have a .net 1.1 winforms app that uses web services, and I also have a very large client is using it. However, so far, we have not been able to get through there firewall (client app is inside the firewall and web services are hosted outside the firewall). So we¡¯ve had to use work around such as using wireless hubs connected to outside internet connections. Their global firewall group has not
-
- wpf listview
by manganu
- 6 Replies
- Last post
by manganu
- I was working on Listview control using XAML. I have few questions:
1. Is there a way to find out if the control key is pressed when the particular item is selected.
2. I wanted to differentiate between single click on listview from single click on listview while the control key is pressed. Is there a way for such differentiation
-
- Group by 2 Columns
by Burak SARICA
- 1 Replies
- Last post
by Burak SARICA
- Is there a short way to group a queryable by 2 Columns
For example :
var Arsiv = from ec in lbDB.Entries , group ec by ec.EntryDate.Year, ec.EntryDate.Month select new {Month=g.Month,EntryCount=g.Count};
This is not a valid query i think. How should i write this query I want to Select months and entryCounts by months. (think of a blog archive menu)
-
- TreeViewItem Container from TreeView SelectedItem Property
by jiggs
- 3 Replies
- Last post
by jiggs
- I need to get the TreeViewItem control that hosts the object referenced by a TreeView control's SelectedItem property. I'm currently having to work my way down the tree (as I have a reference to each parent object), node by node, and calling ItemContainerGenerator.ContainerFromItem method on each TreeViewItem node. It's unfortunate that the ItemContainerGenerator.ContainerFromItem method only sear