The enigma of software development.

ASP.NET

How To: Communication between UserControls

Problem : Allow one UserControl(DepartmentSelectorControl) to communicate /pass a value to another UserControl which will in turn   using System; using System.Linq; using System.Web.UI.WebControls; public partial class Controls_DepartmentSelectorControl : System.Web.UI.UserControl { private string selecteddepartment = string.Empty; public string SelectedDepartment { get { return selecteddepartment; } set { selecteddepartment = value; selecteddepartment = uxDepartments.SelectedItem.Text; } } [...]

How to generate an iCalendar file

Problem : Generate a iCalendar file which will trigger a calendar application (eg. outlook) to open with an updated event. The iCalendar file is a fairly common feature which most developers add to enable  users to add events to their personalized calendars via a custom calendar application Solution : Create a web handler which will [...]