Click to See Complete Forum and Search --> : dynamic include file??


jarrodlytle
08-24-2005, 03:30 PM
Im trying to make a page that when i click a button it fires a sub routine that will dynamicly change my include to include a different page, is thuis possible, or should i be using something else? thank you in advance

Memnoch
08-24-2005, 05:47 PM
Create both of the include files as User Controls, then you can dynamically load them using the LoadControl method.

.NET doesn't do includes the way old ASP did.