-
- WCF Transactions
by Dirk Laubscher
- 3 Replies
- Last post
by Dirk Laubscher
- Hi,
I am trying to get transactions to work with a custom binding > UsernameOverTransport.
The transaction isn't flowing to the server. Is it possible to get this to work with this particular binding type or should I use a different binding
Cheers
-
- " Setting XAML animation as a preloader "
by Mann..
- 3 Replies
- Last post
by Wei Zhou - MSFT
- Hi,
I have created one Animation in XAML which i want to use as a preloader(intro) before my window is loaded
and some before displaying some internal data.
Overall , this animation is a grid only.
Can you help me how can i achive this
Thanks.
-
- Is visual studio 2008 the only program to create WPF
by MAN OF GOD
- 14 Replies
- Last post
by Nick Holmes.
- How does people like Roxio create their WPF's I just want to know if they are using visual studio and if they are what edition Does any other version of visual studio allow a developer to create WPF's
If not when will the other editions such as pro or standard be released for purchase or can I build affectively in express
Will I be able to build a WPF compeletly in Expression Desig
-
- Context Menu not staying open
by Radek Cerny
- 9 Replies
- Last post
by Radek Cerny
- I have a ListView class that is quite dynamic, and one of the options is to display a context menu on a header row click (specifically column 0, to emulate the 'empty' context menu of traditional Windows ListView with the 'New' and 'View by' items - the other columns perform a Sort). The event I capture is the GridViewColumnHeader .ClickEvent and the menu is built and attached successfully, and di
-
- To host other controls in a custom control
by Hitesh Sharma
- 7 Replies
- Last post
by Bragi
- Hi Guys,
I creaded a custom control by gropuing a few common controls. The purpose of this control is to act like a very stylized and customized group box (but it wasn't made by editing the template of group box, instead it was brought up by using rectangles, borders, etc). So, I have my custom group box now. But I can't place controls over it. I can drag them and make them sit over it but
-
- Throwing exceptions from a UserNamePasswordValidator
by Jimmy the Dev
- 9 Replies
- Last post
by Sajay - MSFT
- I have a custom UserNamePasswordValidator class. For testing purposes, it currently looks like the following: public class MyUserNameValidator : UserNamePasswordValidator { public override void Validate(string userName, string password) { if (userName == "foo" && password == "bar") return; throw new FaultException<SecurityAccessDeniedExcept
-
- change backcolor
by ehsano2
- 3 Replies
- Last post
by Jayanta Dey
- hi
I write below codes to change the color when focused ,the problem is in " " what should i write instead of " "
void textbox1_KeyDown( object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys .Enter)
{
textbox2.Focus();
name.BackColor= ;
}
}
-
- WCF + REST + JSON
by Nicolasbolbol
- 12 Replies
- Last post
by Eugene Osovetsky
- Hello, I'm interested in the support of POX and JSON messages with WCF in framework 3.5 but I have difficulties for finding documentation and tutorial about it. Is there a SDK or a website dedicated on this new part of WCF Thanks in advance.
-
- Source code for WPF classes?
by MurrayLang
- 3 Replies
- Last post
by MurrayLang
- Is the source code for WPF classes likely to become available I need to get around GridView's naive view of what constitutes data, but I'm not getting a clear enough picture of how it functions internally by reading the documentation. If I had the source code (including related classes) I might be able learn, emulate and modify. Of course I'd be happier if GridView just wasn't so artificially lim
-
- netMsmqBinding Security
by pigwin32
- 4 Replies
- Last post
by pigwin32
- I want to use the netMsmqBinding in a non-AD environment and I need to be able to secure the queue using ACLs to ensure only the Windows Identity of the client can write to the queue. I haven't seen anything in the docs or forums that explains how to do this in WCF. Can someone please help me Thanks Dave
-
- DataContract member data Validation
by Bravo2007
- 3 Replies
- Last post
by ChiomaOs - MSFT
- I want to add validations on data member to limit size of data sent from client to match capacity of database.
Can someone tell me best way to do it I mean if property on datacontract is string, and that value would be used to populate varchar(250 ) in db, I want to validate before I send it to DB to make sure I am not accepting anything larger than 250 char. Same is applicable for other da
-
- Custom project templates from VS05 fail on Orcas
by David Travis
- 2 Replies
- Last post
by Hansen Steve
- Hello, I created a custom multi-project template for my team. I am using a Wizard Extension for some custom code I wish to execute when the projects are created. As instructed by Microsoft I have a class (lets call it MyCustomWizard), which implements Microsoft.VisualStudio.TemplateWizard.IWizard, and is referenced in the vstemplate xml file under WizardExtension node. Just to fill in the details:
-
- WSDL 2.0
by yaronn01
- 4 Replies
- Last post
by Dave Cliffe - MSFT
- Does WCF 3.0/3.5 support WSDL 2.0 If not, has it been announced when it will
Thanks
-
- Changing Routing Strategy on Controls
by Dave Wesst
- 1 Replies
- Last post
by Cedric Dussud - MSFT
- Hello,
I was curious on whether or not there was a "cleaner" way to change the routing strategy of certain events that on controls. In my case, I have a ListView control and I want to change the ListView.SelectionChanged event routing strategy to Direct rather than Bubbling.
Currently, I attach an event handler in the class that contains the ListView and change the Selectio
-
- Performance Issue using XAML UserControl in Windows Forms
by VarunK
- 1 Replies
- Last post
by Marco Zhou - MSFT
- I have created a XAML usercontrol which has some presentations abilities of WPF and i am using this XAML UserControl in my Windows Application. I am hosting this XAML as Element Host in my WindowForm. The Problems comes when i run the application, the WindowForm which is hosting XAML control loads pretty quickly and the XAML UserControl loads after 2-3 sec which gives an ugly look to application.
-
- String StartsWith support / SQL LIKE operator
by Michael_Giagnocavo
- 9 Replies
- Last post
by Keith Farmer
- How can we get use of the SQL LIKE operator when using LINQ to SQL For instance, I have the following SQL query:
Code Snippet SELECT * FROM People WHERE 'Bob Smithson' LIKE Name + '%'
This returns people with names like "Bob", "Bob S", "Bob Smith". In LINQ, I'm doing:
Code Snippet string myName = "Bob Smithson"; var q = from p in dc.P
-
- Get assembly info without System.Windows.Forms
by Tergiver
- 1 Replies
- Last post
by Drew Marsh
- Using Windows Forms you could obtain assembly info (like company name, product version, etc.) with Application.CompanyName, Application.ProductVersion, etc.
WPF applications can't reference system.windows.forms.dll, so how do we get at the assembly info
The " Programming with Assemblies" help file describes how to set assembly info, but not how to retrieve it at run-time.
-
- WPF Tree View icons
by kris9542
- 6 Replies
- Last post
by cams_aries
- Hi all
Please let me know how we can place an icon infront of a tree view element like a directory symbol etc
-
- Cant find ObservableCollection
by Shitij
- 2 Replies
- Last post
by Bragi
- I am using MS Visual Studio 2008 beta.....and was working on databinding in WPF. I needed observable collection, but cannot find it in system.collections.objectmodel it just shows 3 collections there collection, keyedcollection and readonlycollection. please help shitij
-
- Always the Same Problem --> Element already has a logical parent
by ChrisQuesaada
- 7 Replies
- Last post
by ChrisQuesaada
- Hi,
System.InvalidOperationException was unhandled Message="Element already has a logical parent. It must be detached from the old parent before it is attached to a new one."
This is the error, It happens when I Make some modifications to the TreeViewItems in my TreeView. I happen too when I use 3D Elements like ModelVisual3D, but in this case I clone them and no more pro
-
- Templating a ProgressBar
by Sad
- 1 Replies
- Last post
by Ben Carter - MSFT
- Hi there,
I'm trying to template a progressbar.
I need the indicator to be Red at the beginning of the process, Yellow at the middle and green when it ends.
I tried several things such as templating the indicator those ways:
> By setting a linearGradientBrush to the Background of this indicator
> By binding the BackGround to value of my progressbar with a converter
-
- System.ServiceModel.Syndication
by Synced23
- 11 Replies
- Last post
by Synced23
- I see a few blog posts about System.ServiceModel.Syndication. Is it possible to use a class from this namespace and point it to an RSS url for reading purposes Or is this only for generating syndication
If it is able to read RSS information from a URL is there any documentation samples I can't seem to find any information on that namespace.
Thanks and take care.
-
- WPF can be used for web pages???
by Bhavin Mistry406063
- 2 Replies
- Last post
by LesterLobo - MSFT
- Hello to all,
I want to know that If WPF is useful for developing Web pages Because Basically I am workin with Web Applications, and wanna know how it is helpful to me
And also want to know any developement tools are awailable for that
-
- Binding Problem
by eclere
- 6 Replies
- Last post
by eclere
- Hallo,
i habe a small binding Problem. My Class has this Code:
Code Snippet
Public Class Info
Private _Name As String
Public Overloads Property Name() As String
Get
Return _Name
End Get
Set ( ByVal value As String )
_Name = value
End Set
End Property
Public ReadOnly Property Dis
-
- Dynamically Loading Flow Documents
by sbprasad
- 7 Replies
- Last post
by nitinca
- I have been trying to load a flow document with a code behind file dynamically from a another xaml file. I have been getting the following error 'Class attribute does not exist in namespace. Here is the sample flow document.
FlowDocument xmlns:a = " http://schemas.microsoft.com/winfx/2006/xaml " a:Class = " HeaderTest " xmlns = " http://schemas.microsoft.com