-
- Problem : Splitting a complex application into multiple xaml and xaml.cs files
by Mann..
- 6 Replies
- Last post
by Marlon Grech
- Hi,
I am suffering from great problem with complex application in WPF where i have one main screen where i want to have different content (XAML) tobe displayed and operated based on certain conditions.
Currently, all the functinalities, resources and all events and related c# code are in the same window( XAML and XAML.cs). My Problem is i want to devide the content in a saperate file
-
- How to specify an attached property value in XAML using expanded syntax
by Bill Henning
- 6 Replies
- Last post
by Bill Henning
- Hi all,
As an example of my issue, say I wanted to specify an attached ToolTipService.ToolTip property value on a class that doesn't natively have a ToolTip property and I need the value of the property to be an object... like a complex StackPanel of controls.
Normally attached properties are specified as attributes using the inline DeclaringTypeName.PropertyName syntax. But can they
-
- Yet another SOAP Header question
by Evgueni
- 1 Replies
- Last post
by Evgueni
- Hello,
We have a massive ASMX service that has a SOAPHeader on pretty much every method. I am aware of two ways of porting this to WCF: MessageContract or IWsdlExportExtension. I am interested in implementing the IWsdlExportExtension, but the only example I found so far was for adding an annotation, which did not show how to link a custom type SOAP headers.
Does anybody know of a cod
-
- XBAP and EXE with VS 2005 Orcas and Blend
by Slion
- 1 Replies
- Last post
by Ian
- Hello, How can I do an application XBAP and EXE with Visual Studio 2005 Orcas and Blend I¡¯d like not to modify the source code.
Thanks!
-
- Binding to the Binding.XPath property
by Karl Hulme
- 5 Replies
- Last post
by Rob Relyea
- Hello
I need to be able to bind to the XPath property of a binding object, but i can't because XPath isn't a DependencyProperty. Does anyone know of a sneaky way around this
the following doesn't work but illustrates what i'm trying to do...
<TextBox> <TextBox.Text> <Binding XPath="{Binding Mode=OneWay, Path=Something.HelloWorld}" /> </TextBox.Text> &
-
- Problem building AJAX enabled web sites after install of Visual Studio 2008 beta 2
by Christian Sparre
- 7 Replies
- Last post
by sparrez
- I have a simple web site that uses AJAX and it is a few months since I updated it the last time. Today I had to make a simple ajustment, but I ran into some problems.
I have the new VS 2008 beta 2 installed alongside VS2005. The web site is 100% ASP.NET 2.0 and AJAX 1.0.
The website was buildt without errors and deployed to the filesystem just fine, but when I moved it to the product
-
- Hosting ServiceLibrary(s) under IIS/WAS, how to?
by Anton&#40;Bug&
- 9 Replies
- Last post
by Dinesh Ravva - MSFT
- There is a question about hosting one or more WCF service libraries under IIS/WAS. Assume we have a huge pack of services in several libraries, and I want to host them under IIS/WAS without creating a bunch of *.svc files and config settings. Settings for all services are identical. How can I correctly host them under IIS/WAS
-
- Loading TreeView nodes on demand
by Steve Bickell
- 3 Replies
- Last post
by Jérémy Alles
- Does anyone know how to load a TreeView node only when the user tries to expand it
In Win Forms I used to load a dummy child item for a node to cause the '+' to be shown and then catch the expanding event, delete the dummy item and load up the correct children for the node.
This meant that database access could be kept to a minimum.
I can't see any event for either the TreeVi
-
- DataReader in WCF
by JulioTsukamoto
- 2 Replies
- Last post
by Dwight Goins
- Can I use a DataReader in a WCF Service
-
- How to set the background of the header row in a gridview
by fbecker
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hello,
I want to re-style my (listview) gridview header row. But I only see the ColumnHeaderTemplate and the standart color scheme still appears in the background especially on resizing. I want to get rid of the brownish bar...
Is there any way
-
- Read-only attached property and authorization key
by wekempf
- 8 Replies
- Last post
by wekempf
- I've created two attached properties, call them WidgetType and WidgetInstance. WidgetType is a normal attached property, and WidgetInstance is a read-only attached property. In the WidgetType property metadata I've specified a property changed callback which allocates an instance of the specified type and assigns it to the WidgetInstance property using the DP key. When I run this application, it a
-
- Use of Siteminder tokens in WCF to authenticate against siteminder
by ABcdsfdsfds
- 6 Replies
- Last post
by Ed Pinto - MSFT
- Hi guys,
I am having a WCF client which communicates to Java service via siteminder. To call the Java service the client needs to be validated by siteminder using the siteminder token from cookies folder of the client pc.
How can the client pass its siteminder token from cookies folder to siteminder via its bindings or service behaviours The java service is called from client using proxy
-
- Compilation Error "The name ' anycontrol' does not exist in the current context "in Browser Application in WPF ?
by M.Prajyot
- 10 Replies
- Last post
by Tamir Khason
- Hi
I have created Browser Application in WPF 3.0 .
When I compiled this application Its giving Compilation error like
"Error 8 The name ' theImage' does not exist in the current context "
Here " theImage " is controls name .This is error coming for all controls in that Application .
I also added references of presentation., presentation.framework,windows.base th
-
- How to refer root control of DataTemplate when it is applied to ContentCOntrol?
by sergun
- 10 Replies
- Last post
by Yi-Lun Luo - MSFT
- <Window ...>
<Window.Resources> DataTemplate x:Key="myTemplate" DataType="{x:Type ...}"> <TextBox x:Name="t"/> </DataTemplate> </Window.Resources>
... <ContentControl x:Name="cc" ContentTemplate="myTemplate">
</Window>
How can I refer to given in myTemplate TextBox from some event handler of
-
- WCF - SessionId Generation
by derek.thompson
- 6 Replies
- Last post
by derek.thompson
- I am developing a web service using WCF and C# .NET, and need to know exactly how the System.ServiceModel.OperationContext.Current.SessionID is generated (i.e., the algorithm used and/or real/pesudo code, or where to find it). I plan on using the session id or a hash of it as a unique key in a hashtable, but under the circumstances of my development I need to know the exact details of how it is ge
-
- Capturing a Click Event.
by JIpock
- 1 Replies
- Last post
by lee d
- Has anyone had any success with capturing a "click" event on an image created on a Canvas I see various properties for MouseUp, MouseDown, StylusUp, etc... But how about a good old-fashioned Click or DoubleClick
Or must I capture and handle both mouse down and mouse up (and Mouse out to cancel the mouse down )
-
- Map Stored Proc XML output/input parms to EDM entities?
by terryc_ms
- 7 Replies
- Last post
by galloc76
- Hello,
I have an existing database which exposes objects in XML form to the existing middle tier. I'd like to know if there is any way to take advantage of the EDM mapping using xml return from a proc
Also, in many cases we package parent/child objects together in xml and send this xml to a proc, so that the transaction is handled efficiently (one trip to the DB and the DB is able
-
- Binding to a non-dependency property
by Mazze
- 8 Replies
- Last post
by Mazze
- Hi!
I'm having troubles setting up a data binding in WPF. I would like to bind the DockPanel's "ActualWidth" property to the "Width" property of a self-coded class called XAxis:
// XAxis class exposes Width property of type double for binding purposes
class XAxis
{
public double Width
{
get { return width; }
set
{
if ( v
-
- Select Current Row on Button Click in a Grid View
by Sujath
- 3 Replies
- Last post
by Dr. WPF
- I have a button in my GridView. Once i click the button I need to select the current row.
I could see a sample in WPF Samples using a check box but couldnt customize it for a button. The code for check box is as below
< DataTemplate x:Key = " FirstCell " >
< StackPanel Orientation = " Horizontal " >
< CheckBox IsChecked = " {Bindi
-
- C# code attributes
by Zajda
- 2 Replies
- Last post
by WPCoder
- Hi,
I am almost sure this is not possible, but i have to ask:
can i somehow mark fields defined in xaml with C# attributes Such feature would help me a lot.
Thanks
Peter
-
- Alternate implemenation of Skip() and Take() on DLINQ
by Frederick Staats
- 2 Replies
- Last post
by Frederick Staats
- I'm worried about the scaling of paging very large result sets with DLINQ current implementation of Skip() and Take(). The internal mapping of using the ROW_COUNT() function with a large (millions of rows) result set will eat huge amounts of resources. There is much more efficient way to do paging with a two step query and SET ROWCOUNT (for an example see http://www.4guysfromrolla.com/webtech/0426
-
- Whetehr does the TreeView support multi-selection?
by Larry_zhou
- 1 Replies
- Last post
by lee d
- And are there any methods to implement multi-selection function
And I found TreeView has only SelectedItem property and hasn't SelectedItems property. But both SelectedItem and SelectedItems exist in ListView.
-
- Passing graphs via SOAP
by David Turner
- 1 Replies
- Last post
by Allan-Nielsen
- Hi
I'm developing a system using WCF where one of the operations returns a complex data structure. The data structure is complex in the sense that it's a graph, not a tree (in fact it's a doubly-linked list). Of course, this sort of thing is sternly rejected by the SOAP serializer. My question is, how can I work around this problem Changing the data structure appears to be out of the quest
-
- How do I add a Clause to a Linq Query?
by Captain Ramen
- 1 Replies
- Last post
by Keith Farmer
- Here is my problem: I want to run linq queries behind a WCF service. I want this service to inspect the type being queried, and look for a parameter called UserAccount. If it finds it, I want it to add "&& UserAccountDBID = someGuid" to the query. So far this is what I have but I get runtime errors:
Code Snippet
if (hasUserAccountKey)
{
ParameterExpression p
-
- Can Application.Properties be use as DataContext in xaml directly?
by LeoXue
- 1 Replies
- Last post
by Sam Bent - MSFT
- Hi,
I have stored some data in Application.Properties. Can these data be used as DataContext in xaml binding