Silverlight User
Ask Questions
Articles
Forums
FAQs
Groups
Top Members
About Us
Login
Microsoft
Articles
Forums
FAQs
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 Programming
Articles
Forums
FAQs
JavaScript
ASP
ASP.NET
Web Services
Non-Microsoft
Articles
Forums
FAQs
NHibernate
Perl
PHP
Ruby
Java
Linux / Unix
Apple
Open Source
Databases
Articles
Forums
FAQs
SQL Server
Access
Oracle
MySQL
Other Databases
Office
Articles
Forums
FAQs
Excel
Word
Powerpoint
Outlook
Publisher
Money
Operating Systems
Articles
Forums
FAQs
Windows 7
Windows Server
Windows Vista
Windows XP
Windows Update
MAC
Linux / UNIX
Server Platforms
Articles
Forums
FAQs
BizTalk
Site Server
Exhange Server
IIS
Transaction Server
Graphic Design
Articles
Forums
FAQs
Macromedia Flash
Adobe PhotoShop
Expression Blend
Expression Design
Expression Web
Other
Articles
Forums
FAQs
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