Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# tigermain 11/4/2007 11:23 AM
OK there must be something fairly fundamental with the way the framework draws controls to the page, as I have found another issue which I cannot explain which doesnt exist in normal .net pages, other than my DataKeys issue (http://www.cuyahoga-project.org/home/forum.aspx?g=posts&t=773)

I have a user control in a module (say called search) and I have given the option to programmatically add other user controls (in a sub namespace) to the user control via the section settings. Now this works fine.

The problem comes when manually adding the sub user control to the page via the actual form (i.e using tagprefix methods). It simply doesnt render any of its child form controls. The control fires its events but all the controls it can see at compile time (hence reason I can build) disappear when in situe on the site
# martijnb 11/5/2007 7:36 PM
To what kind of page are you adding the usercontrol? Admin page? Or another module usercontrol?

For admin pages, Cuyahoga uses its own masterpage system (designed for .NET 1.1 in the early days) and it might be possible that this gives some problems with user controls. I myself have never had this issue though, but maybe, I've never used a user control on an admin page...
# tigermain 11/5/2007 7:51 PM
No its a usercontrol in a module and its not the admin edit pages its just a front end display user control