dynamic loadcontrol

  1. G

    Question Dynamically added control - cannot cast!

    Hi all, I have a very simple project in VS2005, containing one page (Default.aspx) and one user-control (SingleBox.ascx). I want to dynamically add the uc to the page, then cast it and set its properties. I wrapped both page and uc with the same namespace: Page: Namespace MyNameSpace...
Back
Top