-
- How to make a control lost focus?
by Dominic.Zhang
- 5 Replies
- Last post
by Dr. WPF
- I think it's a very general question. Supposing a window contains a ComboBox, how can I make it lost logic focus and how can I make it lost keyboard focus
<Window>
<Grid>
<ComboBox DropdownClosed="OnClosed" IsEditable="True"/>
</Grid>
</Window>
I want to make the combo lost focus when it's closed, I mean in OnClo
-
- Flickering in 3D
by OrbMonkey
- 4 Replies
- Last post
by OrbMonkey
- I have a very arcane little issue with .Net 3 and XAML. If anyone knows of a better place to post this question, I'd be happy to hear it. My question is this: I'm making a C#/XAML project. It's in 3D, so I'm using a camera - a PerspectiveCamera (a sealed type), to be specific. The camera zooms and moves in response to various things, but whenever I move the camera, I have really obnoxious flicker
-
- Problems with Generating Client Service Proxy in VS 2005
by murratore
- 4 Replies
- Last post
by MatteoSp
- In my ServiceClass I have two typed FaultExceptions (see code below). When I try to generate a Service Reference in VS 2005 (-> Add Service Reference), the generator makes some weird code (multiple defintions for some properties etc.). Does anybody knows what the problem is As soon as I comment the <FaultContract> Attribute, everything works fine again. Thanx ****************************
-
- Petzold XBAP gets unauthorized access exception
by Simon Dallaway
- 7 Replies
- Last post
by Chango V. - MSFT
- When we try to run http://www.charlespetzold.com/wpf/JeuDeTacquin/JeuDeTacquin.xbap from
one user account on a PC it runs fine but using a different (older) user
presentation host crashes with a system unauthorized access exception.
Both accounts have computer administration rights. The same thing happens for all other XBAPs we've tried. XAML applications don't run either. Running an XBAP from
-
- Multiple XAML files in a project
by iterationx
- 4 Replies
- Last post
by iterationx
- Hi, I can use multiple XAML files in a project, right I would like my button click to land me in a particular class, so I think that I'll use multiple XAML files. I'm trying to move a data template out of my Window1.xaml and into a class TSC2.xaml <Page x:Class="TSC2" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microso
-
- wcf service - edit wsdl file
by liorhg
- 3 Replies
- Last post
by liorhg
- Hi,
Do you know how can I add an xml schema to the wsdl file describing the service contract that is exposed to the client
thanks.
-
- Set the SignedInfo id attribute
by Edmund
- 5 Replies
- Last post
by Michele Leroux Bustamante
- Hello,
I am building a Client-side web service that must output the following SOAP Header.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext">
<wsse:BinarySecurityToken valueType="wsse:X509v3" encodingType="wss
-
- ControlTemplate breaks ListBox. Code proves it! Please help!
by buzzweetman
- 0 Replies
- Last post
by buzzweetman
- I am having trouble getting a ControlTemplate containing a ListBox to work properly.
So I made a test application to work it out.
First I started with NO ControlTemplates. I have a ListBox's SelectedValue and a TextBox bound to a string property in Window1 class. When I run, the string property is not set and so nothing is selected in the listbox and the textbox is empty. If I select a l
-
- setting transparency color for bitmap
by bitbonk
- 1 Replies
- Last post
by bitbonk
- I have seveal .bmp files that I want to display as icons throughout my UI. How can I define a transparency color for each of them, so that this color in the bitmap will be displayed as the transparent color
-
- Additional Information For Original Post Iterating Images With Build Action : Resource
by karl140.6
- 5 Replies
- Last post
by karl140.6
- Please forgive me for asking a question that others have asked, but I just can't get anything to work.
I have 50 small .png files that I added to my WPF application as Build Action : Resources. I used VS 2005, Solution Explorer and simply added an existing item.
I can access all my images using the Source property on my image controls.
I need to iterate through all of these im
-
- Change UIElement state without raising event
by Alex Farber
- 1 Replies
- Last post
by Marlon Grech
- I am looking for generic way to change UIElement state without raising event related to this state. For example: checkBox1.IsChecked = true; If there are subscribers to checkBox1.IsChecked event, they should not get this event. I want to do this without hard-coded unsibscribing. In the Windows Forms I used class which unsubscribes from all events in constructor, and restores all subscribers in the
-
- How to upload an Image to WCF Service
by Kanhaiya
- 4 Replies
- Last post
by damijanc
- I am trying to upload an image to a WCF Service. I have converted my image into bytes and passing array of bytes to WCF Service.
But it's throwing an exception "The remote server returned an unexpected response: (400) Bad Request".Let me know if any one require further clarifiaction.
Do I have to use any specific protocol for it
Thanks
Kanhaiya
-
- Significance of defining Name and Namespace in ServiceBehavior And ServiceContract
by Bravo2007
- 4 Replies
- Last post
by Hiten
- Can some one tell me what is the significance of using Namespace and Name attribute on ServiceContract And ServiceBehavior
What would happen if i do
[ServiceContract(Name="A", NameSpace= http://A )]
Interface A {}
[ServiceBehavior(Name="A", NameSpace= http://A )]
public class AImpl:A
{ ...}
and what would this mean
[ServiceContrac
-
- Positioning DrawingVisual in parent visual?
by Pickle Matrix Technician
- 10 Replies
- Last post
by Pickle Matrix Technician
- Hi, I have had trouble positioning DrawingVisual objects where I want them when they are added as children to another DrawingVisual. For example, say I have a DrawingVisual (DV) that is 1000 x 1000, and I have another DV that is 20 x 20 that I want to be drawn at (500, 500) on the large DV. If I draw the contents of the small DV with an offset of (500, 500), and then add it to the large DV's child
-
- Visual Brush confusion.
by Francis Tracey
- 3 Replies
- Last post
by imj
- Greetings.
I have an application with a main window with a grid and 2 columns. In each column is a rectangle, thus:
<Grid ShowGridLines="True"> <Grid.ColumnDefinitions> <ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="*"/>
-
- VS 2005: problems with running C++ programs
by nuttyDeedee
- 3 Replies
- Last post
by ilogpasig
- Hi, I want to run the simplest possible C++ program (Hello World) on VS 2005 . When I build it I receive no errors, but I do not see the output on the command line. I tried other short programs and it is still not working. Do you have ideas how to fix this problem thanx
-
- Can We Generte Report With the Help of XPS document
by Vinod Sa
- 2 Replies
- Last post
by Anonymous
- Hi All,
I could Develop sample using XPS document for Printing the Visual Element like canvas or a grid with help of
VisualsToXpsDocument class.
1)Now My requirement is to develop a REPORT using XPS document. for example I know some things of Crystal Report can We do same thing using XPS document which will retrive the values from database and which will have some format like Bil
-
- XBAP to show underlying webpage's background?
by -JM-
- 6 Replies
- Last post
by -JM-
- I've tried everything I can think of to make this work and would like to know difinitively:
Is is possible to have transparent areas of an XBAP show through to the underlying webpage when instantiated within an html iframe
My XBAP has rough edges with transparent areas. In expression blend, these areas show through to the typical checkerboard "I'm transparent" background. b
-
- DLINQ across multiple databases
by LeonRadley
- 7 Replies
- Last post
by jwooley
- Hi! My problem is that our business system resides in one database, and my own system resides in another database, but they are on the same machine. It seems that I cant have more that one database in one datacontext, is it going to be possible to have multiple databases in one datacontext in the release version of dlinq, so that i could do a join between the users in my database and the orders in
-
- WCF design requirements and feasibility
by Bravo2007
- 6 Replies
- Last post
by Hiten
- I need to create a WCF service with following requirements, and I would appreciate if someone can answer these questions specifically.
1. It should be able to consumed through office Excel client
2. Message level security
3. Transport level security
4. Windows Authentication and/Or Custom Authentication
5. when used custom authentication(we will use authentication through user i
-
- Need help with Security & Communication
by TrevorW
- 14 Replies
- Last post
by TrevorW
- Here is what I want:
WCF hosted services on a single server
Web Client hosted in IIS that will be accessing the service, but it may be via intranet ot internet
Winforms client accessing the same service but would likely be Net TCP versus wsHttp and would likely be on on intranet (VPN included)
So...
An application user logs in with a username/password.
The password is hashed a
-
- Walking the Visual Tree looking for Data Bindings: Is it Possible?
by Willie D.
- 2 Replies
- Last post
by Willie D.
- Hi,
The Challenge:
I'm facing the FocusScope/UpdateSourceTrigger=LostFocus dilemma when the ToolBarĄ¯s Save button is clicked.
Because the button is in its ToolBarĄ¯s Focus Scope, the last control(s) with UpdateSourceTrigger=LostFocus updated in any other Focus Scope will not have their source(s) updated before the save to the database is performed.
Setting the Tool
-
- Can xbap cache files like the browser?
by joyrider
- 2 Replies
- Last post
by joyrider
- Hello,
I am doing some development using xbap. I have a question about xbap, not sure if somebody here could please give an answer:
Can xbap cache files on the client's machine, say, in the temporary Internet Files folder, just like the browser
Thanks
-
- SmartDevice project deployment gives: "This application has failed to start because the application ..."
by Brian C. Barnes
- 3 Replies
- Last post
by Brian C. Barnes
- I have VS2008 beta2 installed on two different machines, a Windows Vista 64bit desktop, and a Windows XP SP2 32bit laptop.
I have WMDC 6.1 installed on the Vista machine, and ActiveSync 4.5 on the laptop.
On the desktop system, I can create, build, debug, and deploy smartdevice projects to any of the smartdevice emulators without problem.
On the laptop system, I can create a s
-
- Page Navigation Service is null
by lvandiest
- 4 Replies
- Last post
by lvandiest
- I have a page that is embedded inside of a Frame. In that page, there is a button, that when clicked, navigates to another page. In that page, the user makes a selection, and then the program navigates back to the previous page. Everything works fine the first time that you navigate forward, make the selection and then navigate back. However, if you do the same thing a second time, you can navigat