Archive

Archive for November, 2010

How to add smart Object in K2 Blackpearl

Categories: Uncategorized

SharePoint Add Test Data to List

Categories: Uncategorized

microsoftpdc

Categories: Uncategorized

Enum to string


public enum WeekWorkingDays

{

Monday = 1,

Tuesday = 2,

Wednesday = 3,

Thursday = 4,

Friday = 5

}

protected void Button1_Click(object sender, EventArgs e)

{

string strCurrentWorkingDay = “Thursday”;

WeekWorkingDays CurrentDay = WeekWorkingDays.Monday;

try

{

CurrentDay = (WeekWorkingDays)Enum.Parse(typeof(WeekWorkingDays), strCurrentWorkingDay);

switch (CurrentDay)

{

case WeekWorkingDays.Monday:

//Your Action plan on this day

break;

case WeekWorkingDays.Tuesday:

//Your Action plan on this day

break;

case WeekWorkingDays.Wednesday:

//Your Action plan on this day

break;

case WeekWorkingDays.Thursday:

//Your Action plan on this day

break;

case WeekWorkingDays.Friday:

//Your Action plan on this day

break;

}

}

catch

{

}

}

Categories: Uncategorized

The following set of controls will persist value across requests even though the view state is disabled.


PRB: Server controls persist their state when EnableViewState is set to False

The following set of controls will persist value across requests even though the view state is disabled.

TextBox control, CheckBox control ,RadioButton control.

Categories: Uncategorized

Programmatically Adding and Removing Permission to a Group in SharePoint List

Categories: Uncategorized

Change new button order and default content type

Categories: Uncategorized