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.

Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jul 21, 2011, 9:51 PM EDT
Create a class and write your functionality there..use that class properties in your code behind page......