C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Removing items from a listbox


Posted Date: 12 Aug 2008      Total Responses: 2

Posted By: Chaitanya       Member Level: Bronze     Points: 1


Hi,

In my application,i have used a Listbox in which images are added as an ListboxItems and when i am trying to delete an item i am getting an error as ''c:\Pixelware\STRUCTURE\General documents\GeneralOne\GeneralSubTwo\_Thumbnail\Document_0.png' because it is being used by another process'




Responses

Author: Nagarajan    12 Aug 2008Member Level: GoldRating:     Points: 2
Before deleting and item, try setting the listItem's image to null.

please revert back with the result


Author: Aravind    19 Aug 2008Member Level: GoldRating:     Points: 4
if you are using datatemplate and itemtemplate, first clear the selected row's template column by setting it to null. In fact, removing that particular item template column will do.

Please post back here of your tries and the ways you did to solve this issue, which might be helpful to all others too.



Post Reply
You must Sign In to post a response.
Next : MVP architecture
Previous : Loading Windows User Control in WPF
Return to Discussion Forum
Post New Message
Category: WPF

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

accuconference

Contact Us    Privacy Policy    Terms Of Use