-
- Is there any DataGrid equivalent in WPF?
by Rob Ainscough
- 9 Replies
- Last post
by Laurent Bugnion
- I can't seem to find any WPF control that would operate similar to a DataGrid control -- ListBox doesn't really support columns and column headers. What are my options here
Thanks, Rob.
-
- The certificate 'CN=localhost' must have a private key that is capable of key exchange.The process must have access rights for
by Akshay Saini
- 14 Replies
- Last post
by Amer Gill
- Hi,
My WCF service has following security settings:-
at server side(web.config) :-
< behaviors >
< serviceBehaviors >
< behavior name = " myBehaviour " >
< serviceDebug includeExceptionDetailInFaults = " true " />
< serviceMetadata httpGetEnabled = " true " />
< serviceCredentials >
< serviceCe
-
- Setting the style of a data-bound ListBoxItem: StyleSelector or IValueConverter?
by BrianOConnell
- 1 Replies
- Last post
by neil mosafi
- Hi, I'm trying to decide which is the best way to apply a style to a ListBoxItem based on its content. At the moment I have the following two solutions: Binding and IValueConverter: <Window.Resources> <my:AgeToBrushConverter x:key="myConverter" /> <Style TargetType="ListBoxItem" x:Key="nameListItemStyle"> <Setter Property="Background" Value={Binding Converter={Static
-
- Cider on Orcas Beta2: UserControls and Toolbox items
by Corrado Cavalli
- 1 Replies
- Last post
by Jim Nakashima - MSFT
- I've added to my WPF application a WPF UserControl and compiled project, I hoped to see my Usercontrol listed among toolbox items but can see it. Are we back to Visual Studio 2002/2003 era where you have to manually add a reference to dll (or to yourself in case of controls defined inside main exe...) before getting controls listed
-
- Don't understand what's accelerated with layered windows
by Matt Ellis
- 3 Replies
- Last post
by Matt Ellis
- Hi folks. I've noticed that MS has just released a hotfix to address poor WPF performance with layered windows (Window.AllowsTransparency = true) on XP and win2k3, and I've been trying to understand what it's all about.
If we look at this post: http://blogs.msdn.com/seema/archive/2006/09/18/761314.aspx , we see that Vista composes the scene in hardware via DirectX, but presents to the scree
-
- How to add a row to a table in a RichTextBox?
by Martin Bennedik
- 7 Replies
- Last post
by lee d
- I would like to add a command to my application to add a row to a table in a RichTextBox.
Using reflector I can see that there is already code inside WPF to do this:
There is EditingCommands.InsertTable, EditingCommands.InsertRows etc., but they are all internal.
RichTextBox in its constructor even calls TextEditor.RegisterCommandHandlers, which registers command handlers for all these in
-
- Create xbox 360 Dashboard Listbox in WPF
by emanon
- 2 Replies
- Last post
by emanon
- On the 360 dashboard whenever there is a list of items, they never scroll. Instead there is a fixed # of visible items (say 6) . All 6 items are selectable. But when the user moves to an item beyond the visible 6 no visible scrolling takes place. Instead the contents of the 6 items just shifts either up or down by one item. The advantage of this is that you never have a partial item visible and ev
-
- IIS host impersonation
by Pavel Kudishin
- 3 Replies
- Last post
by Richie Weldon
- Hi
I'm using IIS as WCF host. I need that all of operations of my contract were executed on the server always under "some_user" account regardless of client credentials. Setting < identity impersonate = " true " userName = " some_user " password = " xxxxxx " /> in Web.config does not help. Is there any way to solve this problem
-
- Turning security off in a custom binding
by Guy Baron
- 2 Replies
- Last post
by Guy Baron
- Hi,
How can I disable the security of a channel via a custom binding
Something that will be equivalent to < security mode = " None " > in a netTcpBinding.
-
- How to configure MessageVersion on BinaryMessageEncoding in config file?
by Indigo Cowboy
- 2 Replies
- Last post
by Indigo Cowboy
- Hi, I can not add attribute messageVersion on binaryMessageEncoding element in custom binding while I can do that with TextMessageEncoding
< binaryMessageEncoding />
I can do this in code also:
BinaryMessageEncodingBindingElement encoding = new BinaryMessageEncodingBindingElement ();
encoding.MessageVersion = MessageVersion .Soap12WSAddressingAugust2004;
Is there a way t
-
- infinit stream - Is is possible ?
by manukahn
- 3 Replies
- Last post
by manukahn
- Hi
I would like to create a stream for my client and send an infinite message.
(A movie of unknown size for example)
[ OperationContract ]
Stream GetStream( string NameOfMovie);
The problem is maxReceivedMessageSize property of the transport binding element.
Is it possible when using ¡°streamed transfer mode¡± to transmit to the client data with no size limit
-
- All items went into overflow panel instead of toolbar panel (ToolBar binding problem)
by Vladislav Spivak
- 0 Replies
- Last post
by Vladislav Spivak
- Hi, When I try to fill toolbar items from ItemSource all items went into overflow panel instead of toolbar panel. Code:
<DataTemplate x:Key="MyTemplate"> <Button MaxWidth="20" MaxHeight="20" Content="{Binding Command.Name}"> </Button> </DataTemplate> <ToolBar Width="200"
ItemsSource=&qu
-
- Inheriting from inherited user control
by leovernazza
- 5 Replies
- Last post
by Ed Noepel
- I'm having a problem with a user control generated code, when it inherits from other than UserControl. Steps: 1. Add new User control 2. Replace in the inheritance declaration UserControl for MyBaseUserControl 3. Compile The generated class part is still inheriting from UserControl. You can change the ".g.cs" file, and sometimes you can get it succesfully compiled, but the error cames ba
-
- DataSet Visualizer
by Gosovic
- 3 Replies
- Last post
by JimGries - MSFT
- DataSet Visualizer dont work in debug mode A'm using Sql Server Compact (.sdf) database.
Also, in dataset designer when right click on TableAdapter Fill and GetData methods and option Preview data appears error "The dataprovider or database you have selected is not supported" but when you right click and choose Configure -> Query Builder -> Execute Query then it runs !!
-
- Which item is focused in a ListBox?
by Andrew Arnott - MSFT
- 9 Replies
- Last post
by Tim Dawson
- I have a ListBox where SelectionMode ="Multiple" and I need to take an action on the focused item on a keystroke. In my keystroke handler, I can't seem to figure out how to determine which item has the input focus.
These don't work, they always refer to the first item in the list.
conversationsList.Items.CurrentItem
conversationsList.Items.CurrentPosition
These don
-
- Use of ExceptRows
by Rajesh Kumar J
- 3 Replies
- Last post
by Rajesh Kumar J
- Could anyone please provide an example of using ExceptRows function in a sql query
ExceptRows
Public Function ExceptRows( _
first as IEnumerable( Of DataRow), _
second as IEnumerable( Of DataRow)) _
as IEnumerable( of DataRow)
For example please use the following query: Replace operator "<>" with Except Rows and "=" wi
-
- Problems with Xaml, Classes from External Dlls and the Class Attribute
by Esrever
- 6 Replies
- Last post
by Esrever
- Hi,
This are 2 Problems at once, maybe i should open 2 differend threads - but i think i have some Configuration failure of my runtim or something else... i am using VS 2008 Beta 2.
i have defined a class for that i want to define a DataTemplate for that class.
Class TextMessageContent is placed in a shared DLL.
public class TextMessageContent : MessageContent
{
-
- ScrollViewer - trigger`s setters for HorizontalScrollBarVisibility and VerticalScrollBarVisibility do not work?
by Marek Istvanek
- 3 Replies
- Last post
by Marek Istvanek
- I have the style below, but the trigger`s setters for HorizontalScrollBarVisibility and VerticalScrollBarVisibility do not work (Padding works well).
< Style x:Key = " ZoomWindowStyle " TargetType = " {x:Type Window} " >
< Setter Property = " Template " >
< Setter.Value >
< ControlTemplate TargetType = " {x:Type NavigationWindow} " >
< D
-
- [linq] SubmitChanges() doesn't work
by mathmax
- 4 Replies
- Last post
by mathmax
- Hello,
I've a class called "Class1" that have a porperty "MyProperty" which is an objects list of type "Class2". Class1 is mapped to a table of my database, Class2 to a child table and the relation between the two classes is made with the "Association" attribute.
I would like, for an instance of Class1, to update, delete, insert an element of MyPorpert
-
- No endpoint listening IIS hosted WCF Service
by gdubya
- 2 Replies
- Last post
by gdubya
- I keep getting the No Endpoint Listening at ... error when I try to call a method on my service that is hosted inside of IIS.
Any help would be greatly appreciated.
Here is my configuration.
<system.serviceModel> <bindings> <wsHttpBinding> <binding name="ECommWSHttpBinding"> <reliableSession enabled="true" />
-
- WPF Composite and Custom Contols
by Greg McPherran
- 5 Replies
- Last post
by Greg McPherran
- Can WPF composite controls be created using XAML and C# in a separate assembly/DLL as can be done for Windows Forms controls Any tips Thank You.
-
- Can't do web install of Visual C# Orcas Express Beta 2
by jrboddie
- 5 Replies
- Last post
by Qupid
- I am not able to download Visual C# Orcas Express Beta 2.
The downloader tries 5 times to download the Windows SDK tools for VS Express then gives up. The status is always:"Re-establishing connection with the server."
-
- Stopping WCF service host when IIS Website is stopped
by Wole Ogunremi
- 5 Replies
- Last post
by Wole Ogunremi
- Hello I have an IIS hosted wcf service. I have a listener for the ServiceHost's Closing event. I can see that the event is raised if i stop the service using iisreset. However, i noticed that if i stop the IIS website which contains the service (via IIS manager) the closing event isn't raised. Can you kindly explain why this is so Thanks Wole
-
- Synchronize a VisualCollection with an ObservableCollection
by Shiranui
- 2 Replies
- Last post
by Shiranui
- Hi, I'm trying to synchronize the content of a VisualCollection with the content of a general ObservableCollection<MyClass>. MyClass (which represents a series of curves) contains a PathGeometry and a DrawingVisual to display this geometry onto my application's canvas. I don't know if that data scheme is the best but I've coped with it so far. So, I've got an ObservableCollection of MyClass
-
- Programmatically click a button problem
by Freedon Nadd
- 5 Replies
- Last post
by Matthew Adams
- Hi,
I found on the net a link to programmatically click a button
http://joshsmithonwpf.wordpress.com/2007/03/09/how-to-programmatically-click-a-button/
and it works great, but the problem I have is that a created a great button style( in my opinion )
and calling a click event programmatically doesn't set the IsPressed property to True,
< Trigger Property = " Button