I am loading in a user control on page load and events are never firing. The user control loads fine with the correct information. it contains two dropdowns and an
calendar control. The dropdown selection changed event is never fired. I am not sure if there is something wrong while control is being rendered.
string content = "";
usercontrols_DateCalendar CalendarNew = (usercontrols_DateCalendar)Page.LoadControl("~/usercontrols/DateCalendar.ascx");
StringBuilder sb = new StringBuilder();
StringWriter sw = new StringWriter(sb);
HtmlTextWriter htw = new HtmlTextWriter(sw);
CalendarNew.load_info();
CalendarNew.RenderControl(htw);
conten ...
Go to the complete details ...