All Articles on ASP.Net - User Controls

Accessing user controls using directcast from code-behind for situations like populating a gridview

Posted 05 March 2010 - Category ASP.Net Sub Category User Controls

Sometimes you cannot just reference the usercontrol as it is populating a repeater type control where many instances of the user control will be created. Heres how.

Creating dynamic user controls on an aspx web page

Posted 05 March 2010 - Category ASP.Net Sub Category User Controls

Sometimes the user control to be showm on a page has to be created dynamically. This may be the case when you have a selection of different content to include in a page and need to pick from many user controls. Heres how.

Choose from the right hand menu to see full lists within subcategories