Dynamically Loading Controls in ASP.NET
ASP.NET allows for the simple creation of reusable components. These components, called "User Controls" replace the old notion of include files in classic ASP, but are much more rich in functionality. They are actually closer to the notion of custom controls that have been in place in Visual Basic for many years.
One of the coolest features of ASP.NET is the ablility to dynamically include a user control at run time. This can be a very powerful feature, a control can be loaded based on user input or application configuration, for example.
Code sample is available here.
back
|
next
|
about