Tag Info

Hot answers tagged


Hers is the code you need to use in Event Receiver... int newID = 0; //Get current year int currentYear = DateTime.Now.Year; //Your list name string listName = "Test"; //CAML string assuming 'Title' is the column contains unique ID string ...


The Visual Web Part template references the Extensions DLL that comes in .NET 3.5, but does not register all of the namespaces. This means the namespace System.Web.UI.WebControls needed for ListView is missing. Below this line: <%@ Register Tagprefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=, Culture=neutral, ...

Only top voted, non community-wiki answers of a minimum length are eligible