Jevgeni Borozna's blog

SharePoint, ASP .NET

Browse by Tags

All Tags » .NET (RSS)
Getting default Workflow History List in SharePoint
When it is needed to add Workflow Association programmatically, then it requires instance of Workflow History List. There is 2 possibilities: list already exists or you should create it. private static SPList GetHistoryList( SPWeb web) { string historyListName...
Most interesting from SharePoint 2010 Virtual Ignite Training: 4th Day
11 feb 2010: Virtual SharePoint 2010 Ignite Training for Developer Day topics: Enterprise Content Management Extending SharePoint Search BI and Performance Point Services Sandboxed Solutions Search Item-level security Control the resulting display URL...
Most interesting from SharePoint 2010 Virtual Ignite Training: 3rd Day
10 feb 2010: Virtual SharePoint 2010 Ignite Training for Developer Day topics: Workflow Services Architecture External Data in SharePoint (BCS) Enterprise Content Management (ECM) Notes: "Whats New" for SharePoint 2010 Workflow For the end-user...
Most interesting from SharePoint 2010 Virtual Ignite Training: 2nd Day
9 feb 2010: Virtual SharePoint 2010 Ignite Training for Developer Notes: Intellisense when editing Wiki-pages and other type of pages and inserting some page property. (When writing “[["…) 4 default Master Pages: v4.master (default for SP 2010) minimal...
Most interesting from SharePoint 2010 Virtual Ignite Training: 1st Day
8 feb 2010: Virtual SharePoint 2010 Ignite Training for Developer Notes: Now SharePoint by default has rating and tagging functionality. SharePoint 2010 works in both IE and Firefox. Content Organizing functionality: document going to some sub-folder...
Getting all types from core library that implements specific interface
Sometimes you don’t know which of all .NET framework types better fits you requirements, but you know that this class must implement some interface. Following code gets all types that implements specific interface by interface name: using System; using...
Extending Control class to search sub-control by type
I have already wrote in my previous post about searching sub controls by type. Post: Searching for sub-control by type Now I’m suggesting more useful extension-type method to extend all classes derived from Control class (for example Page, TextBox, DropDownList...
Searching for sub-control by type
Sometimes you need to search for some sub controls and its ID doesn’t depends on you. For example, you don’t know how this control will be rendered in different conditions. Like SharePoint fields are rendered. You know that there must be one TextBox ...
Appending string in C#: String += vs string.Format vs StringBuilder
Appending strings performance test String += creates new instance of object and saves it in memory, as a result you have 2 string objects in a memory. For this kind of targets .NET have class named StringBuilder which will work 2500 times faster than...
Posted: Dec 11 2009, 03:35 PM by Jevgeni Borozna | with 6 comment(s)
Filed under: ,
More Posts