Why the first way to add a user control works, and the second(with typeof) doesnt work??? protected void Page_Init(object sender, EventArgs e)
{
form1.Controls.Add(LoadControl("RadSliderWithLabel.ascx")); //this works
form1.Controls.Add(LoadControl(typeof(RadSliderWithLabel), null)); //this doesnt
} ...
Go to the complete details ...