Hi Brett, Are you publishing the CMS site inside an existing .Net Application folder?, in that case the code-behind file or assembly would be in the .Net side, so you would only need to handle user control registration in the master template and UC includes in your other content classes. Advantages: Developers can use an external IDE to debug and test the .Net code, Editors can do their work in CMS.
If you want the "code behind" to be inside CMS, you could put it as inline code inside the aspx code, so you would have for example one file for each user control with ASP.NET code and c#/vb.net code. I recommend putting your user controls inside content classes, could be one for all of them with placeholders for the user control name and prefix. Hope this helps! Cesar Oshyn - OpenText Web Content Management Experts - www.oshyn.com -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Brett Sent: Wednesday, May 27, 2009 5:52 AM To: RedDot CMS Users Subject: RedDot and .net usercontrols Hi All, I hope someone can help me with a problem I'm having with RedDot. We're converting our intranet into a RedDot site. On the existing site,we have a .net search component that we have as a usercontrol (with it's own code-behind file and code). Our base page template in RedDot has an 'assembly' container for connecting page directives and code-behind files to etc. We want the search form (and a couple of other elements) to appear on every page but I'm not sure how to connect the code-behind file to the base page when I'm going to have one or more .net 'components'. Do I create a blank code-behind file template and keep adding code to that everytime we add a .net component? Do I have the search form and the other components in the base page or as content classes and pull them in? Hope someone can help. Thanks, Brett --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/RedDot-CMS-Users?hl=en -~----------~----~----~----~------~----~------~--~---
