search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
MicrosoftArticlesForumsFAQs
C# .NET
VB.NET
Visual Studio .NET
ADO.NET
Xml / Xslt
VB 6.0
.NET CF
GDI+
LINQ
Deployment
Security
FoxPro
Silverlight / WPF
Entity Framework
RIA Services

Web ProgrammingArticlesForumsFAQs
JavaScript
ASP
ASP.NET
Web Services

Non-MicrosoftArticlesForumsFAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source

DatabasesArticlesForumsFAQs
SQL Server
Access
Oracle
MySQL
Other Databases

OfficeArticlesForumsFAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money

Operating SystemsArticlesForumsFAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX

Server PlatformsArticlesForumsFAQs
BizTalk
Site Server
Exhange Server
IIS
Transaction Server

Graphic DesignArticlesForumsFAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web

OtherArticlesForumsFAQs
Subversion / CVS
Ask Dr. Dotnetsky
Active Directory
Networking
Uninstall Virus
Job Openings
Product Reviews
Search Engines
Resumes

 

View Other C# .NET Posts   Ask New Question 
Listview items add/remove events
Rakib Hasan posted at Tuesday, June 02, 2009 3:08 PM
Hi,
I need to have events when items are added or removed from a Listview. Since i am using ListviewGroup, i need to add the newly added items to specific group or remove the items from their corresponding group.

Is there any way to do it?

Thanks
-Rakib

 
  Re
Bill Look replied to Rakib Hasan at Tuesday, June 02, 2009 10:03 PM
Hi

There is no event to in the .net framework, but you can implement this easily.

To this you can write codes right after an item added or removed. e.g.

this.listView1.Items.Add("aa");
// write code which you want to put in the "items.add" event here.

same way you can do this to remove time also.

thank you