1
Reply

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

sahitya kunapareddy

sahitya kunapareddy

Jul 21 2011 7:00 PM
2.3k

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)