Hi,
I have ItemAdded event created. I have added a function in that. The function counts the number of files in the subfoldes of the list.
I have build the class file, and created it as a feature and activated the feature. I am not sure if my code is being hit. This is the code i have used.
[CODE]
namespace ItemCountEventHandler
{
class Constants
{
public const string url = "Server Name";
public const string listname = "list name";
}
public class ItemCounting : SPItemEventReceiver
{
public override void ItemAdded(SPItemEventProperties properties)
{
// base.ItemAdded(properties);
GetOpenItems();
}
public static void GetOpenItems()
{
using (SPSite site = new SPSite(Constants.url))
 
View Complete Post