-
- Communicating between UserControls and the main window
by WPF Beginner
- 2 Replies
- Last post
by Swapnesh
- Firstly, I am a complete WPF beginner, so please bear with me.
I am working on some simple proof of concept type things to prepare myself for writing a full-blown application. One of the ideas I'm working on is breaking up the different screen areas into UserControls. For instance, I have a UserControl for the menu (File, Edit, Help, etc), a UserControl with a couple of ToolBars for commonl
-
- Edit multiple items (ListView)
by IsisTheDamned
- 3 Replies
- Last post
by IsisTheDamned
- Hello, My app has a master detail window. There's a ListView(GridView) displaying all the available items and below is a heap of controls to edit the selected item. This works fine for one selected item but if more than one items are selected only the first is updated. Now this is a normal behavior but i would like to somehow apply the value of the changed property to all of the selected items. Is
-
- XBAP cancelled by user message ... after closing a DHTML popup
by kcchesnut
- 5 Replies
- Last post
by Chango V. - MSFT
- ok, i'm having a really hard time trying to recreate this ... but we've seen it a handful of times now.
we've got an XBAP hosted in an IFrame.
the hosting page talks to an ad server which injects javascript into that page.
periodically, the ad server will inject some form of popup or floating div (from here on, i'll just call it a popup) ... it varies.
the popup might be partia
-
- Windows Service and Named pipe issue
by Tom Praison
- 2 Replies
- Last post
by Jarrod M.
- i had a hosted two services in console application. Service1 recieved call for external clients and forwards the call to the Service2 i used namedpipebinding between Service1 and Service2.. It worked fine but when i hosted in a windows service Service1 is not able to call Service2. Is there any configuration to be set to call between services because it works when Service1 is a console application
-
- ListBox differences between SelectedItem and Focused Item
by Michael Marth
- 5 Replies
- Last post
by MichaelMarth
- Hi,
maybe someone can help me out with this
I am completely puzzled by the Listbox behaviour in WPF in terms of selected item and focused item. Here's some example XAML:
< Window x:Class = " FocusTest.Window1 " xmlns = http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " Foc
-
- How to use Binary Message Encoding Format
by ramkasarla
- 2 Replies
- Last post
by ramkasarla
- Hi,
I am having a doubt regarding Binary encoding format, that is
i am using netTcpBinding for uploading a image from client to service using Binary encoding,
Here my Question is that, Is netTcpBinding by default contains the message exchange pattern as Binary encoding or for enabling it I have to do something because
for other type of bindings(http,namedPipe) I can see messagEncoding
-
- How do I set a default ToolTipService.InitialDuration for my application?
by Tor Langlo
- 4 Replies
- Last post
by TorLanglo
- I would like to set a few default ToolTipService values for my application (which is of "decent" size) to avoid having to add 'ToolTipService.InitialDuration="100000"', etc. on every control that has a tooltip. What's the easiest way to do this
Thanks,
Tor.
--------
Tor Langlo
Koda Software
Web: http://www.kodasoftware.com
Blog:
-
- How to group items in ListView with GridView in C# code using Expanders (without XAML)??
by Majkel
- 3 Replies
- Last post
by Reddy2727
- Hi, I am trying to do similar thing like here http://msdn2.microsoft.com/en-us/library/ms754027.aspx but without using xaml - only C#: Grouping and creating expanders works - I know that grouping works when I comment this line:
gsColl.Add(gs); I see the expanders as well, but the items and itemcount not. Instead them i see only System.Windows.FrameworkElementFactory text.... I would be gratef
-
- Using a BindingList<T> child class as ItemsSource - sorting not working
by csammis
- 1 Replies
- Last post
by wpleary
- I'm using a class derived from BindingList<T> as the ItemsSource for a TreeViewItem. I've overriden SupportsSortingCore, ApplySortCore, IsSortedCore, SortDirectionCore, and SortPropertyCore in the child class, and I'm attempting to apply sorting using the following: ICollectionView view = CollectionViewSource.GetDefaultView(tvi.ItemsSource); if(view.CanSort) { view.SortDescriptions.Add(
-
- how to figure out server is not working?
by Dennis Voloshko
- 1 Replies
- Last post
by Brian McNamara - MSFT
- I use NetNamedPipeBinding and DuplexChannelFactory to make connection to server. NetNamedPipeBinding binding = new NetNamedPipeBinding(); duplexChannel = new DuplexChannelFactory<ISomeFace>(site, binding, address); nc = duplexChannel.CreateChannel(); CommunicationState state = duplexChannel.State; duplexChannel.Closed += new EventHandler(duplexChannel_Closed); and expect event when server sh
-
- Looking for example of Sync Direction - Uploadonly.
by Meet Vijay Shah
- 1 Replies
- Last post
by Rafik Robeal
- Hi all Is there any exmple available on net or on your side for Sync Direction "UploadOnly". I have example of BiDirectional Direction. If you have any idea or example then reply please give me the link or snap code so i can do same in my application Thnaks & Regards, Meet.
-
- HTTP could not register on VISTA
by ramkasarla
- 3 Replies
- Last post
by Sanjay Jagarlamudi
- Hi
In my application, I am creating and opening a channel using binding of wsHttpBinding. I am running application on Vista.
I get this error :
"HTTP could not register URL http://+:80/LoanService/service.svc/ . Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/ LinkId=70353 for details)."}
I found this piece
-
- Data binding pculiarities in WPF
by Josias10
- 2 Replies
- Last post
by Josias10
- I'm working in a program written using WPF and ADO.NET. I am using ADO.NET to pull the SchemaTable of a database into a DataTable. I have populated two list boxes with the names of all of the Tables contained in the database by binding these list boxes to my DataTable. The list boxes do display all of the tables, but I have run into a problem when I select one of the tables in either list box. Th
-
- HierarchicalDataTemplate and multiple ItemSources
by cheesetarmac
- 7 Replies
- Last post
by cheesetarmac
- Hi I have a class structure conceptually similar to the following that I'd like to be able to display in a treeView using an ObjectDataProvider and HierarchicalDataTemplates public class MyContainer { private ObservableCollectionWithPropertyChanged<Person> m_Contributors = new ObservableCollectionWithPropertyChanged<Person>(); public ObservableCollectionWithPropertyChanged
-
- Override MetaData Problem, a WPF bug?
by GP_S
- 5 Replies
- Last post
by SerialSeb
- I am creating a few custom controls (inherited from Controls.Control) in WPF. There is a base class for all my custom controls. I would like to limit the Width and Height of all my custom controls, so I override the CoerceValueCallback in metadata of WidthProperty and HeightProperty in the base class, see code:
Static MyControlBase() { FrameworkPropertyMetadata widthPropertyMetadata = n
-
- Drag and drop ListViewItems to another UIElement(Canvas).
by Rod Yager
- 14 Replies
- Last post
by Pavan Podila
- Does anyone have a good example on how to accomplish this I have a tried an fews things with no success and haven't been able to find any good examples.
-
- problem with [ClassInitialize] attribute in unit tests
by Jon Kruger
- 2 Replies
- Last post
by BJaanes
- I created a new unit test today add uncommented the generated code that Visual Studio gives you for a new unit test that creates a method decorated with the [ClassInitialize] attribute. But when I run the test, I get this: Method MyProject.Test.UnitTest1.MyClassInitialize has wrong signature. Parameter 1 should be of type Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.
The method real
-
- Upgrading to Vista... Should I uninstall .NET 3.0 first?
by Rtalan
- 2 Replies
- Last post
by Edmund Leung
- In the process of learning WPF, I have installed .NET 3.0 and the Visual Studio 2005 extensions. In preperation for upgrading my OS to Vista Ultimate, should I uninstall the older .NET 3.0 first
Also, to get the newest VS 2005 extensions (Orcas, Cider, etc.) should I uninstall the older versions of these extensions first
Thanks in advance!
-
- UserControl reference
by bmains
- 9 Replies
- Last post
by Yi-Lun Luo - MSFT
- Hello,
I've developed a user control in the same area as my window. How how do I use it What I mean is, in the window XAML, how do I reference and use my user control I'm not quite sure what the syntax is. I was reading something about using the clr-namespace attribute, but I was getting errors with that, most likely because I was doing it incorrectly.
Thanks.
-
- Automation in proxy generation..
by dimitrik
- 4 Replies
- Last post
by Brian McNamara - MSFT
- I use the /r option of svcutil during generation of the proxies, which means that I cannot just right-click and Update them from VS. Does anyone know any option in the ProxyGenerationParameters in the *.map files that I can use to add my referenced assembly (so that I can avoid using svcutil from command prompt).
-
- Databinding not working in 1st XAML test app
by moondaddy
- 1 Replies
- Last post
by Francis Tracey
- Databinding not working in 1 st XAML test app using code from:
Get Started Using Windows Presentation Foundation
http://msdn2.microsoft.com/en-us/library/ms752299.aspx .
I went through the tutorial step by step and re-pasted the code several times to make sure I didn¡¯t miss anything. Databinding works in the fist page when the app loads as I can see items in the list. B
-
- cant log in vpc orcas !
by CiNN
- 14 Replies
- Last post
by ErikIce
- I am using Visual Studio Orcas VPC Credentials:
Username: Administrator Password: P@ssw0rd but it wont log me in
-
- Service with wsDualHttpBinding inaccessible after client exception
by Corgalore
- 8 Replies
- Last post
by MuscleHead
- I'm developing an application that uses the wsDualHttpBinding model in a service hosted by IIS. It works appropriately sending duplex communication to and from several clients, however, if any of the client applications break (Generate exception), the service is no longer accessible by any of the clients until I make a change to the web.config file within the asp.net website hosting the service. T
-
- Sorting an ObservableCollection<T>
by dmetz
- 5 Replies
- Last post
by Kurtl
- I was recently using a List<T> to keep track of my data, but we had to move to an ObservableCollection<T> because it will eventually be used in binding to a UI. I was using the List<T>.Sort(IComparer<T>) to sort the list, but it appears that ObservableCollection<T> does not implement this. Is there a way to sort it or do I have to do that manually It seems odd to ha
-
- How to "step into Stored Procedure" to my SQL 2005 Database on my Windows 2003 Server
by Haiasc_123
- 14 Replies
- Last post
by Haiasc_123
- Hi all, I have a critical problem 1) myDB attached on SQL Server 2005 Develop under Windows 2003 Server 2) My PC client is XP SP2, after create a connection to myDB , I tried to debug my store procedure by " Step Into Store Procedure " on a sp_myStore from Server Explorer of Visual Studio 2008 but it issued an error " Unable to start T-SQL Debugging. Could not attach to SQL Server