P
Peter Jackson
I'm using v2 of the UIP App. Block. I've created all my .aspx pages, all of which contain .ascx user controls. The .ascx user controls provide the standard server controls (i.e., LinkButtons, etc.) for the user to navigate the site and perform their tasks. None of the site's actual functionality is contained in the .aspx pages--they're just kinda containers for all the .ascx user controls.
So, I'm to the point in the UIP App. Block where I need to make each ..aspx page inherit from Microsoft.ApplicationBlocks.UIProcess.WebFormView. This is easy enough. However, as I mentioned above, my controls to actually do the task(s) are in the .ascx user controls. Thus, my .ascx user controls cannot access the controller.
How can I solve this problem?
..aspx pages, by default inherit from System.Web.UI.Page, and this is easily replaced. However, .ascx user controls inherit from System.Web.UI.UserControl. Can I simply replace System.Web.UI.UserControl with Microsoft.ApplicationBlocks.UIProcess.WebFormView for my .ascx user controls similar to how the .aspx pages are handled?
Or, is there another solution to this problem?
Thanks.
So, I'm to the point in the UIP App. Block where I need to make each ..aspx page inherit from Microsoft.ApplicationBlocks.UIProcess.WebFormView. This is easy enough. However, as I mentioned above, my controls to actually do the task(s) are in the .ascx user controls. Thus, my .ascx user controls cannot access the controller.
How can I solve this problem?
..aspx pages, by default inherit from System.Web.UI.Page, and this is easily replaced. However, .ascx user controls inherit from System.Web.UI.UserControl. Can I simply replace System.Web.UI.UserControl with Microsoft.ApplicationBlocks.UIProcess.WebFormView for my .ascx user controls similar to how the .aspx pages are handled?
Or, is there another solution to this problem?
Thanks.