Load usercontrol on to web pages from app_code class using asp.net(c#)

Jul 21 2011 7:00 PM

Hi,

I am new bee to the field of asp.net. I have a project where I have to dynamically load the usercontrol onto many pages. Instead of placing the appropriate C# in the code behind of every page, I was wondering if there is a way to load the usercontrol from app_code class. By this way I can reduce the number of lines of code in each page. Any help will be really great.

Thanks.


Answers (1)