-
- ListBox control template
by Gravy
- 1 Replies
- Last post
by Josh Smith
- Does anyone know of an example for creating a control template for the list box I want to use a listbox to bind to a xml datasource, but instead of just listing strings I wanted each item to be a button with an image and some text. Plus I then want to space the items so that buttons aren't too close together.
Simple eh :)
-
- Visual Studio Orcas Deployment -> SignTool.exe not found
by PlaTyPuS8
- 3 Replies
- Last post
by cnsdjn
- Hi! When I try to deploy my WPF application with Visual Studio Orcas, it gives me the error " An error occurred while signing: SignTool.exe not found. " Do you have an idea how I can resolve this error Thanks for help. PlaTyPuS
-
- Routing
by Oz22
- 1 Replies
- Last post
by Martin Petersen-Frey - MSFT
- Hi!
In WSE 2/3 we had a simple routing mechanism based on the refferal.config.
The advantage was - no opening/decryption of messages and no performance hit thereof, and easy configuration of the contents. Is there a similar possibility in WCF
Thanks,
Oz
-
- Owner Window z-index
by Luke R
- 9 Replies
- Last post
by Hua Wang
- Is it possible to display an owner window ontop of the owned windows without using the TopMost property Any ideas or possible solutions would be great.
Thanks.
-
- WCF and Web Services
by Curare
- 5 Replies
- Last post
by Curare
- Hi2All!
I have WCF service, hosted in IIS 6.
Contract :
[ ServiceContract ]
public interface IVideoFileContract
{
// ... some methods
[ OperationContract ]
TagEntity [] GetTags();
}
Web.config:
< system.serviceModel >
< services >
< service name = " VService.VideoFileService " behaviorConfiguration = " VServi
-
- How to get the screen resolution in wpf
by spshah
- 7 Replies
- Last post
by k.Rahul
- Hello everyone,
I am developing an client/sever application using wpf and wcf, in which when i run the client application on different screen resolution, then the controls(i.e. the size) added in the xbap page changes. So i want to get the current screen resolution and make the size of controls unchangable.Can anyone help me out.
-
- Vista WPFApplication "Requested registry access is not allowed"
by Nathan-Vindicator
- 14 Replies
- Last post
by YoonMi
- This relates to my previous post at
http://forums.microsoft.com/msdn/showpost.aspx postid=1502561&siteid=1
Basically it comes down to me not being able to create a WPFApplication as a new project.
It comes up with the error "Requested registry access is not allowed".
From a search, I had seen it was a problem for previous versions and what I've noticed is that when se
-
- Web Designer Tools setup
by kAbnerWP
- 4 Replies
- Last post
by PauloAntonio
- Having difficultly installing VWD (orcas), failing on installing of Web Designer Tools.
Any suggestions
-
- Bug - Distinct operator in LINQ to SQL (Beta 2)
by Joe Albahari
- 7 Replies
- Last post
by vgrigor
- The following Northwind query throws an InvalidOperationException:
dataContext.Orders
.Where (o => o.ShipCountry == "France")
.Select (o => o.CustomerID)
.Distinct()
.Count() Column 'ShipCountry' is not accessible through 'distinct' . at System.Data.Linq.SqlClient.SqlResolver.SqlBubbler.VisitSelect(SqlSelect select) at System.Data.Linq.SqlClient.SqlVisitor.Visit
-
- Notification when ListView is done rendering?
by Biggo
- 4 Replies
- Last post
by lee d
- Is it possible to get a notification when a ListView is done rendering. I have a method which is dependend on the visual tree of the listview. Whenever the datacontext is changed, the visual tree is rendered again.
Ok - now, if I subscripe to DataContextChanged event - it's too early, as the ListView isn't done rendering.
Ideas
-
- Unable to cast object of type x to type x
by filmlover44
- 11 Replies
- Last post
by filmlover44
- Ok, what am I doing wrong object o = TopGrid.InputHitTest(hitPoint); if (o.GetType().Name == "ButtonChrome") ButtonChrome b = new ButtonChrome(); Causes this error: "Unable to cast object of type 'Microsoft.Windows.Themes.ButtonChrome' to type 'Microsoft.Windows.Themes.ButtonChrome'."
-
- Having trouble with selection in my ListView
by Jeremy Chaney
- 4 Replies
- Last post
by Jeremy Chaney
- I want to have in place editing of items in my ListView so I use a TextBox to display the data and toggle back and forth between ReadOnly depending on whether or not the item is in edit mode. My problem is that clicking in the TextBox does not select the item. If I click outside the TextBox, then the item does get selected. What am I doing wrong Here is my XAML for the ListViewItem Style.
-
- drag and drop - dropping a file from my wpf program onto the desktop or explorer - does such a "dropped" event exist?
by Bill Baldwin
- 2 Replies
- Last post
by virtualballgame
- I'm trying to add a feature to my program where I can drag files from my window and drop them in either Windows explorer or the desktop. I was wondering if there are any events, or way to trigger any events, that are triggered when a file from my window is dropped outside of the window (such as on the desktop or in Windows explorer).
As of right now I am able to successfully drag and drop files
-
- Multiple CheckBox Selection issue
by Nitin Gakhar
- 1 Replies
- Last post
by cheyenne
- Hi I am using Visual Studio 2005 (Team Suite) with .NET 3.0 Platform. I am using XAML(novice to XAML) for developing the a window form however the problem is that i have multiple checkboxes. However if i click on one checkbox sometimes 2 and sometimes 3 are selected. Please let me know what could be the problem Regards Nitin Gakhar
-
- Generating Dynamic XAML in IE7 using an ASP.NET HTTP Handler
by Jonathan Parker
- 5 Replies
- Last post
by satishpadidem
- I'm wondering if it's possible to render XAML in IE from an ASP.NET HTTP Handler. It doesn't seem to work in IIS7 on Vista.
Has anyone tried this or knows if it's possible It works fine when I point directly to a .xaml file, but when I generate the XAML
dynamically it gives an error in IIS7 and it closes the WPF host when running from the VS builtin Web Server.
The IIS7 error is a HTTP 40
-
- Unable to add WPF User Control toolbox
by mgranto
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- I created a new 'WPF User Control Library' project and designed a control. When I create a new 'WPF Application' project and attempt to add it to the toolbox, I receive an error:
"There are no components in 'C:\Documents and Settings...WPFControlLibrary1.dll' that can be placed on the toolbox.'
I can add it in code, of course, but was hoping that wasn't the only way:
dockPanel1.
-
- LinqDataSource Cascading Delete from a GridView
by Xvenger
- 2 Replies
- Last post
by Wael Farag
- Does anyone know of a good way to do a Cascading Delete from a GridView using a LinqDataSource
I currently have a relationship that looks like Customer has an Address. When I delete customer I would like to delete the orphaned address at the same time. The delete from the LinqDataSource doesn't seem to take this relationship into account. Any ideas
Thanks,
John
-
- Custom Controls and IsMouseOver
by Steve Thibault
- 2 Replies
- Last post
by Steve Thibault
- Is there something I should know about how IsMouseOver works outside of the obvouse, and what MSDN says I have created a custom control with a base class of content control, but IsMouseOver is never true for this control, but it works for other controls I put in my test window.
-
- Can you define the Items for a ListBox in the ListBox's style?
by David Cater
- 1 Replies
- Last post
by Yi-Lun Luo - MSFT
- I am trying to figure out if there is any way to add items to a ListBox's Items property using a setter. I'm primarily interested in this because I want to create a custom control that would exhibit similar behavior; if I can do it with a ListBox, then I know I can do it with my custom control.
Normally you might set a ListBox's items like this:
< ListBox >
< ListBoxIt
-
- Many to many Bug?
by Trevor de Koekkoek
- 6 Replies
- Last post
by Daniel Simmons - MSFT
- Hi, I have a simple many to many relationship that throws an exception. I have a user table (the built in aspnet_User table from the membership provider. I have a team table with TeamId primary key and then I have simple join table called TeamMember that contains only TeamId and UserId Now using Orcas March CTP, I drag all the tables into the designer. I create a method called GetUser(string userN
-
- Moving images but no redraw
by rhansen
- 8 Replies
- Last post
by Chimme
- I have 5 images (image controls) on a canvas and I want to move them from one side of the screen to the other. As if they were sliding in.
This is done by changing the Margin in a For..Next loop x times.
The problem I have is that they are not drawn as they move across the screen.
In old VB a Doevents would solve this problem but I can see from other posts that that is no longer an option
-
- Obtain Reference to DataContext
by Lawrence Parker
- 5 Replies
- Last post
by Lawrence Parker
- I see that the DataContext.GetChangeSet() method provides access to the modified objects tracked by the data context, but is there any way to obtain a reference to the data context for a given object My guess is no since the objects generated by the LINQ designer inherit from Object, and not from a LINQ entity base class which could contain this property.
It would seem to be desirable to k
-
- Strange data binding behaviour with nested ItemsControls
by ceilidhboy
- 1 Replies
- Last post
by lee d
- I'm seeing some strange & inexplicable behaviour with databinding on an ItemsControl nested inside another one. It seems like a bug to me, but maybe there's some subtlety I'm missing The idea is to display a list of countries horizontally, with the name of each country at the top of a column, and cities in each country listed underneath. I've done this using an outer ItemsControl has a horizo
-
- ArrayOf prefix
by Allan-Nielsen
- 5 Replies
- Last post
by Timothy Wilson
- Hi,
I would like to know more about the ArrayOf prefix when designing custom collections in an xsd editor.
This link here doesn't help me understanding the naming convention used.
The approach here is we do contract first development when designing our data contracts and then use the svcutil /dconly to map the xsd to clr types eventually.
What bothers me here
-
- Create static extension methods for types?
by Brian Vallelunga
- 13 Replies
- Last post
by Azurewrath
- I don't think this is possible, but is there a way to add a static extension method to a type So that I can add the static DoSomething() to class Widget This would be very helpful for me, but I have seen no examples of it yet.
Thanks