Contents tagged with C#
-
Workflow ASPX Initiation Form bug in Visual Studio 2010
When you are adding Workflow Initiation Form to your Visual Studio project, then Visual Studio generating aspx page with buttons and code behind with some lines of code.
-
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.
-
Most interesting from SharePoint 2010 Virtual Ignite Training: 2nd Day
9 feb 2010: Virtual SharePoint 2010 Ignite Training for Developer
-
Long operations on a SharePoint 2007 page
Sometimes you would like to accomplish some task on a Page which takes more time than is set as “timeout” and you are seeing Request timed out in your browser.
-
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.
-
Extending Control class to search sub-control by type
I have already wrote in my previous post about searching sub controls by type.
-
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 (… or other type) which you need to use to do some trick with it.
-
Iterating through all Web Applications in a SharePoint farm
Iterating through SPSiteCollection and SPWebCollection is a pretty simple, because getting these collections is a simple.
-
Appending string in C#: String += vs string.Format vs StringBuilder
Appending strings performance test