-
- Get the position of a control
by Frances83
- 6 Replies
- Last post
by nazdrug06
- Hi all, in continuation of my previous thread (http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1421789&SiteID=1), I have the following issue: I have a Grid, containing, among other controls, a ListView. This ListView doesn't have a absolute position, only relative (e.g. Grid.Row="2", Margin="5", etc). What I would like is to get the absolute position of the ListView o
-
- TextTrimming property for text box in a read only mode.
by Siana
- 5 Replies
- Last post
by soniadaku
- I have a text box, which should accept text without resizing. When the editting is complete, it should be like a label. I want to use the "TextTrimming" property.
Such that the long text should show up with ellipsis (Example -"somefil... ")
Any ideas
thanks in advance
Sonia
-
- Binding through XML
by The_Tourist_
- 1 Replies
- Last post
by Drew Marsh
- I'm not sure if I'm doing something wrong or just missing the point. Anyway from examples I was of the impression you could bind directly from XAML to objects in your code. However unless I specifically assign the source within my c# code it doesn't work.
I have the following code :
namespace WpfApplication3 {
public partial class App : Application {
publi
-
- WCF Questions
by Khurram580290
- 9 Replies
- Last post
by Khurram
- I am kind of new to WCF so looking for a response to certain queries related to WCF.
Considering an architecture where all the business logic is deployed on a separate server and exposed by probably a WCF service. The first client would be an ASP.NET application hosted on another server.
The business layer has certain number of objects which would be sent t to the web application for man
-
- Serializerable Problem
by zhihao
- 2 Replies
- Last post
by Brian McNamara - MSFT
- Hi, I have a Hashtable and user can add anything to it. Then I will create a MessageHeader which contain the Hashtable. The MessageHeader will pass from client side to server side then it will pass it from server side to client side. When the MessageHeader is passed back it will throw exception: Type 'NCS.IConnect.Security.ExtendedMembershipUser' with data contract name 'ExtendedMembershipUser:h
-
- screen to world coordinates
by pfongkye
- 4 Replies
- Last post
by pfongkye
- hi,
I want to know if there exists methods to convert a point (captured by the mouse in a viewport) from screen coordinates to world coordinates in wpf. If not, how can I do the conversion
thanks,
pascal.
-
- WCF Client blues (MSDN Subscriber)
by mteverest
- 9 Replies
- Last post
by mteverest
- Hello. I have been trying to write a WCF client to consume a java-based web service secured by Apache WSS4J but have not been successful. The web service requirements are:
1. Must be accessed via https (i.e. SSL).
2. Request must use SOAP 1.1 format.
3. The SOAP Body in the request must be signed, with the BinarySecurityToken (X509 certificate) embedded in
-
- Linq and Oracle,
by Craig Main
- 12 Replies
- Last post
by mrrtmrrt
- Hi,
I have just tried to add some oracle tables to the object relational designer only to receive the message that the driver is not supported. Will we have support in the Orcas release
Is oracle committed to supporting Linq
They are always doing things at snails pace with java obsession. Makes me very frustrated.
Regards
Craig
-
- RadioButtonList in System.Windows.Controls Namespace
by DonBaechtel
- 2 Replies
- Last post
by DonBaechtel
- According to the MSDN Library there is a RadioButtonList control in the System.Web.UI.WebControls Namespace but not in System.Windows.Controls Namespace. Can I use RadioButtonList in a XAML Window application Is the MSDN documentation incomplete Why is there a difference regarding this control
-
- Disassembly view in Debugger (Visual Studio Orcas)
by Akeran
- 3 Replies
- Last post
by Akeran
- How do I switch to assembly code view in VS Debugger for native project I can't find that menu item. Do I need to install processor packs (if any) to get it Same question for "CPU Registers" windows
-
- LINQ to SQL vs. ADO.NET Entity Framework
by Kevin Hoffman
- 6 Replies
- Last post
by Beryl Wilson
- I know this has been asked before, but the answers I've read still haven't cleared it up for me. People are asking me why they should wait around for an updated to ADO.NET Entity Framework (not currently linked to the Orcas builds) or if they should use LINQ to SQL, which _is_ part of Orcas.
Can someone clarify, hopefully in a way that can be repeated to others, what exactly the benefit of
-
- Debugging XBAP application
by Diego V.
- 4 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hello, I 'm having some troubles with my xbap appilcation in VS 2005. Building the project succeeds, but when debugging I get the following error and I have absolutely no idea what it is about, please help.
"An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in Unknown Module.
Additional information: Cannot create instance of 'Page1' defined in assemb
-
- Custom Commands not working in XAML
by cbalmer
- 2 Replies
- Last post
by Ramanujam Sampath
- I know I must be doing something stupid and simple wrong but I cannot get custom commands to work for the life of me. Here is my code:
< Mapping ClrNamespace="MyProject" XmlNamespace="urn:local" >
< Page
xmlns ="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns : x ="http://schemas.microsoft.com/winfx/2006/xaml"
xm
-
- C# complier generates "Dynamic Base" and "NX compatible" DLL characteristics
by SoccerHero
- 4 Replies
- Last post
by SoccerHero
- Hello,
It appears that the assembly generated by C# compiler ( 8.0.50727.1378 ) has DLL characteristics of "Dynamic Base" and "NX compatible".
540 DLL characteristics Dynamic base NX compatible No structured exception handler
Is there anyway to turn it off I think it is a cause of Access Violation in a native component used by t
-
- MouseMove != MouseMove
by jturpin
- 4 Replies
- Last post
by AndyB1979
- Is there an easy way to tell if a MouseMove event is really caused by the mouse moving and not by some control underneath the mouse changing visibility state
It appears that I am getting MouseMove events even if the mouse does not move whenever the Visibility state of a Control/Panel changes that is underneath the mouse. I don't want this behavior.
I tried checking coordinate values
-
- Disable Navigation Hotkeys in a WPF Navigation App
by Ryan F
- 10 Replies
- Last post
by crushmeguy
- How can i disable navigation hotkeys in a wpf navigation app For example the backspace key makes the app go back a page. I want to disable all such keyboard navigation. Thanks.
-jgoines
-
- runtime policy
by yaronn01
- 4 Replies
- Last post
by Allan-Nielsen
- Hi I have a wcf client that sends and receives the Message object (so no wsdl is required). However the security policy is known only at run time. How can I "load" the ws-policy known at run time to a new instance of my proxy One idea I had is to create a config file from the ws-policy and than load the configuration from this file to the proxy. If this will work can you please tell me
-
- Hierarchical DataTemplate and Multiple ItemSources
by busteesm
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- I have almost the same problem as: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1995862&SiteID=1&mode=1 but did not quite understand the dictonairy solution mentioned. I am trying to get a treeview setup, that will show a structure where, a MenuCategory can contain either an MenuItem, or a MenuGroup, that contains other MenuItems.
quasi-code:
class MenuCategory{
-
- Transactions using wsHttpsBinding
by vdo
- 4 Replies
- Last post
by vdo
- I am trying to get transactions working under WCF. I have a WCF Service and a WCF client and am using wsHttpsBinding, setting transactionFlow="true" on both server and client config files and decorating the service with TransactionFlowOption, TransactionScopeRequired, etc. .
I actually have the transactions working on my local machine, but when I publish the service, the transaction
-
- GridView: last column to fill available space?
by kunom
- 6 Replies
- Last post
by kunom
- I have a ListBox with a GridView presenting the data in three columns. The first two columns are fixed width. Is there an easy way to let the width of the last column always adapt to the space available Thanks Kuno
-
- Extending Inline Tags in Richtextbox
by MikeH2005
- 6 Replies
- Last post
by LesterLobo - MSFT
- I try to extend the inline tags with a new inline tag. For this I created a class MyTag which derives from SPAN.
class MyTag : Span
{
public MyTag()
{
this .ToolTip = "This is my tooltip!" ;
this .Background = System.Windows.Media. Brushes .Gray;
}
}
Sample:
< Paragraph >
< local : MyTag > Hello </ local:MyTag &
-
- how to bind hierarchical object with menu in WPF
by mohan nautiyal
- 6 Replies
- Last post
by LesterLobo - MSFT
- Hi,
my name is mohan.
I am new to WPF, I need some help.
What I want is that I have some data in database, based on that data I want to form a hierarchical object which I will bind to WPF menu object. Also the binding should be 2 way binding so that if user clicks on a menu item then the cliked menu item should be reflected in hierarchical object, so at the time of saving
-
- Help with Object Data Provider.
by astrocrep
- 6 Replies
- Last post
by Rob Relyea
- I really don't have code to post because I am not sure the correct way to do this, or even if using a ObjectDataProvider is what I want.
What I would like to do is take the UI interface from the example here: http://blogs.msdn.com/atc_avalon_team/archive/2006/03/15/551721.aspx
And morph it to use a database. I've established the connection to the database and verified its working, my problem
-
- Hosting a WCF service in IIS6
by Hephaistos
- 12 Replies
- Last post
by Vyzigoth
- Did anybody successfuly host a WCF service in IIS6 It's supposed to be possible after installing the .NET framework 3.0. It's no problem in Vista/IIS7 but in IIS6 I get a "Directory listing denied". I don't think IIS6 knows what to do with an .svc file. I tried on my XP client and on 2003 server, same result. Hosting in Windows forms or service works fine.
Thank you,
Chris
-
- LINQ TO SQL NOT USING INDEXES
by Funpilot2
- 14 Replies
- Last post
by Keith Farmer
- I have a very simple query such as...
Dim DB As New DataClassesDataContext Dim Results = From P In DB.Parties Where P.PartyName Like _Name.Text.Trim & "*" _ Order By P.PartyName _ Select P.PartyName, P.Division, P.CaseNumber
GridView1.DataSource = Results GridView1.DataBind()
Now, when I run this against a database of a few hundred thousand r