Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void rptrTaskList_ItemDataBound(object sender, RepeaterItemEventArgs e)
- {
- CCTask task = (CCTask)e.Item.DataItem;
- if (task is ExecTask)
- {
- ExecTaskControl foo = new ExecTaskControl();
- e.Item.Controls.Add(foo);
- }
- }
- ExecTaskControl foo = (ExecTaskControl)LoadControl("tasks\ExecTaskControl.ascx");
- var myPage = new System.Web.UI.Page();
- var myControl = (Controls.MemberRating)myPage.LoadControl("~/Controls/MemberRating.ascx");
Add Comment
Please, Sign In to add comment