I use a CollectionViewSource to feed the Items of a ListView.ÃÂ My CollectionViewSource is bound to an ObservableCollection that contains items that implement INotifyPropertyChanged.ÃÂ Item property changes are being appropriately reflected in the ListView, but I'm surprised to find that the item does not automatically get resorted when its property that the sort is keying off of changes.ÃÂ It would seem that all the information should be there for the ListView to recognize the need to resort the changed item.ÃÂ Is there a way to make this happen or another 'lighter' alternativeÃÂ to calling Refresh() on the view?

More Related Resource Links

I have a SalesOrderItem table, and it has a UnitPrice
column in case the salesperson wishes to override the unit price of the
Product for that order item.

In an ASP.NET Dynamic Data application, what would be the best way to
set that UnitPrice property on a new SalesOrderItem based on the
standard UnitPrice for the product? In other words, when the user
clicks New on the 'Items' screen for a sales order, the UnitPrice field
should already be filled in with the normal unit price for the product.

I am using a databound DropDownList in which the item's Text field is set to a text representation of an identifier value of type int. I am filling the Value field of the ListItem with the int value. All of this is being done through the setup of the DataTextField and DataValueField settings of the DropDownList control.
However, since both the item Value and Text fields are strings, obviously a conversion must be performed at the time of binding to convert the non-string value to a string value. I am making the assumption that the ToString() method for the value is invoked in order to convert the int value into a string so that it can be stored in the Value property of the ListItem.
Once selections are made, I read the Value property of the SelectedItem to perform an action. It occurred to me that converting back to the original data type might present a problem if the wrong culture information is used to perform the conversion.
My question is, in the case of non-string values being automatically converted for a databound DropDownList, what culture is used to perform that conversion?
My initial guess would be the CurrentCulture, simply because no object is required to supply a ToString() overload which allows the specification of an IFormatProvider object. However, if the System.Convert object is used to perform the conversion

Anyone any ideas as to how I can configure SharePoint to create a discussion item using the title of a list item.
e.g. user creates list item on a custom list - SP automatically creates a Discussion thread for this list item in the discussions list.
I'm guessing this can't be down OOTB . would I be looking at SPD or a coded solution ?
regards,
Counie

Hi,
For example:
I have a class MediaList with a list of mediaitems. (Movie, Serie, Season, Episode).
All these classes have a property FileSize. So we get this structure:
Movie has a property FileSize. Serie has a property FileSize and a property Seasons. Seasons has a property FileSize and a property Episodes. Episode has a property FileSize
If have a calculated property FileSize on MediaList that i want to show. If one episode or movie is deleted, the parents fileSize needs to be updated until MediaList.FileSize is updated.
What is the best practices to handle this kind of properties?
Thx

My class has a property ObservableCollection<MyType>. When any value of MyType changes, I want the setter for my property to be hit. It seems the setter is only hit when the CollectionChanged event is thrown, but in this case the Collection isn't changing,
just a value of one of the properties in my Collection.

I am working on a project which use VB.NET (.NET 2) to call a WCF .NET 3.5 WS via proxy class (in basicHTTPbinding). Before I can call any web method in the proxy class, I need to customise soap header by add two soap header attributes: __UserName,
__SessionID into the soap header (as part of requirements).

To approach this problem I have created a partial class inside the proxy class to inherit the soapHeader class:

i got an issue where i've created a workflow and attached it to a calendar so the workflow will starts when new item is created. if the PIC reject the item can MOSS delete the item from calendar once the PIC reject it?

I tried many ways , but have non can successfully alter the combo box Text after selected an item from drop down, and I want to make sure this is just not possible.

This is what I need, if after I selected an item - "1 apple" from the drop down, i want the combo box shows text, "1". I tried write code in different eventhandlers, overrider Text property, clear items . non of those way can achieve this.

We have an SPDesigner workflow on a form library in SP2007 SP2 (& some CU updates).

Its 'Automatically start this workflow whenever an item is changed' is unchecked. The other 2 options '...new item is created.' and '... manually started...' are checked.

We add an item into the list. The workflow starts. We see the 'Approval Workflow Started' in the workflow history. And approver then approves the item, and in the workflow history, we then see the 'Approval Workflow Started'
again. It's as if the workflow has restarted.

This errant behavior seems to have started when we added an if condition in second step of our workflow:

Visibility property is a very powerful and yet often overlooked property available in both WPF and Silverlight. It enables you to set Visibility of certain UIElement objects to different states like: Visible, Collapsed and Hidden (not supported by Silverlight). This tutorial shows you how to use it and how to bind to Visibility property

ASP.NET provides a configuration system we can use to keep our applications flexible at runtime. In this article we will examine some tips and best practices for using the configuration system for the best results.

The element of a web.config file is a place to store connection strings, server names, file paths, and other miscellaneous settings needed by an application to perform work. The items inside appSettings are items that need to be configurable depending upon the environment, for instance, any database connection strings will change as you move your application from a testing and staging server into production.

EncapsulationLet's abstract away the source of the connection string using a class with a static property.