<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Custom Modules</title><link>http://www.dotnetnuke.com/tabid/795/Default.aspx</link><description>Developing custom modules for DotNetNuke.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Multiple controls with the same ID</title><link>http://forums.asp.net/thread/1032585.aspx</link><pubDate>Thu, 25 Aug 2005 20:10:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1032585</guid><dc:creator>pmgerholdt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1032585.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1032585</wfw:commentRss><description>Thanks for this link, Fuji. It will be helpful.</description></item><item><title>Re: Multiple controls with the same ID</title><link>http://forums.asp.net/thread/1028835.aspx</link><pubDate>Tue, 23 Aug 2005 01:28:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1028835</guid><dc:creator>mcsenow</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1028835.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1028835</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;table width="85%"&gt;&lt;tr&gt;&lt;td class="txt4"&gt;&lt;img src="/Themes/default/images/icon-quote.gif"&gt;&amp;nbsp;&lt;strong&gt;pmgerholdt wrote:&lt;/strong&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="quoteTable"&gt;&lt;table width="100%"&gt;&lt;tr&gt;&lt;td width="100%" valign="top" class="txt4"&gt;Thanks for your responses. My need was to have three view spaces, each with their own edit control. It started as one module but then the request was to break the display out.&lt;BR&gt;&lt;BR&gt;When I pulled the module onto the page three modules, each with separate moduleID, were created. But if each had a blank 'view' control then DNN would create three controls with the same name at the time I pulled them onto the page; hence the problem. If I gave each of them a different key (blank for one, named distinctly for the other two) then there was no problem. However, the two with actual names instead of blank for the key did not get displayed - even though they were of view 'type.'&lt;BR&gt;&lt;BR&gt;Thanks again -&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;BR&gt;I wonder this article migh help you &lt;A href="http://opensource.indyneinc.com/home/DevX/Articles/DynamicLoadUserControlsinDotNetNuke3/tabid/67/Default.aspx"&gt;http://opensource.indyneinc.com/home/DevX/Articles/DynamicLoadUserControlsinDotNetNuke3/tabid/67/Default.aspx&lt;/A&gt;.&amp;nbsp; It is a techniqe for load user control into&amp;nbsp;DNN View or Edit control.&lt;BR&gt;&lt;BR&gt;Regards</description></item><item><title>Re: Multiple controls with the same ID</title><link>http://forums.asp.net/thread/1028249.aspx</link><pubDate>Mon, 22 Aug 2005 15:47:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1028249</guid><dc:creator>matchbx27</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1028249.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1028249</wfw:commentRss><description>lol&amp;nbsp; sometimes it pays to be on the same page.&amp;nbsp; &lt;BR&gt;&lt;BR&gt;It's been a long time since I looked at a .dnn file.&amp;nbsp; I am currently in the middle of developing and I'm using the Module Definitions found under the Host menu to add the module definitions manually.&amp;nbsp; It will be a while before I start creating the .dnn file.</description></item><item><title>Re: Multiple controls with the same ID</title><link>http://forums.asp.net/thread/1028129.aspx</link><pubDate>Mon, 22 Aug 2005 14:30:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1028129</guid><dc:creator>pmgerholdt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1028129.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1028129</wfw:commentRss><description>&lt;P&gt;I believe that is just what I was doing; in the .dnn file&lt;/P&gt;
&lt;P&gt;&amp;lt;modules&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;module&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;lt;stuff about the first modules including controls&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/module&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;module&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;stuff about the second module including controls&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/module&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/modules&amp;gt;&lt;/P&gt;
&lt;P&gt;If this is what you are suggesting, then this is what I was doing. Leaving the key blank for all three resulted in the error. Leaving one blank and using unique names for the other two module definitions for the view type made the two with keys for the view control not appear.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Re: Multiple controls with the same ID</title><link>http://forums.asp.net/thread/1028116.aspx</link><pubDate>Mon, 22 Aug 2005 14:23:06 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1028116</guid><dc:creator>matchbx27</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1028116.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1028116</wfw:commentRss><description>Just so that you are aware, you don't have to create three different modules, but only one module with 3 definitions.&amp;nbsp; Each definition would have one or more controls.</description></item><item><title>Re: Multiple controls with the same ID</title><link>http://forums.asp.net/thread/1028058.aspx</link><pubDate>Mon, 22 Aug 2005 13:39:11 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1028058</guid><dc:creator>pmgerholdt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1028058.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1028058</wfw:commentRss><description>Thanks for your responses. My need was to have three view spaces, each with their own edit control. It started as one module but then the request was to break the display out.&lt;BR&gt;&lt;BR&gt;When I pulled the module onto the page three modules, each with separate moduleID, were created. But if each had a blank 'view' control then DNN would create three controls with the same name at the time I pulled them onto the page; hence the problem. If I gave each of them a different key (blank for one, named distinctly for the other two) then there was no problem. However, the two with actual names instead of blank for the key did not get displayed - even though they were of view 'type.'&lt;BR&gt;&lt;BR&gt;I wonder about this. If the type is set to view, then the key should be able to have a name, and behavior should be based on type rather than absence of a key. At least that's how it seems to this beginning module developer. Seems like it would provide more flexibiliity. But like I said, just starting out here.&lt;BR&gt;&lt;BR&gt;I was given a suggestion of naming the controls programmatically but couldn't quite figure that out.&lt;BR&gt;&lt;BR&gt;In the end, I created three separate modules entirely. All use the same namespace and so the functionality didn't have to be replicated. This is working.&lt;BR&gt;&lt;BR&gt;Thanks again -</description></item><item><title>Re: Multiple controls with the same ID</title><link>http://forums.asp.net/thread/1027934.aspx</link><pubDate>Mon, 22 Aug 2005 12:02:13 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1027934</guid><dc:creator>matchbx27</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1027934.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1027934</wfw:commentRss><description>&lt;P&gt;When you setup your module definitions it looks like you created 1 module definition with three view controls.&amp;nbsp; A module can have multiple view controls but each must be created under a different module definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Think of it this way..&amp;nbsp; Each module definition creates a line item in the module dropdown box on on the admin panel.&amp;nbsp; A module definition can have many controls (but only one view control).&amp;nbsp; So you can create three definitions each defintion would have one view control as well as the edit controls associated with that view control.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description></item><item><title>Re: Multiple controls with the same ID</title><link>http://forums.asp.net/thread/1027259.aspx</link><pubDate>Sun, 21 Aug 2005 15:19:48 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1027259</guid><dc:creator>mm53bar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1027259.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1027259</wfw:commentRss><description>Michael,&lt;br&gt;
&lt;br&gt;
This isn't a fix, but I've found this error quite a few times whenever
I have migrated a site.&amp;nbsp; Usually, it seems to occur when the
portal is trying to load a module but the module code isn't
there.&amp;nbsp; Quite often when I migrate, I move the db but forget to
move some of the custom modules that I use.&amp;nbsp; That means that the
db is telling the portal to load the module, but the ascx files don't
exist.&lt;br&gt;
&lt;br&gt;
Are there any other modules on the same tab as your custom
module?&amp;nbsp; If so, do they physically exist in the DesktopModules
folder?&lt;br&gt;
&lt;br&gt;
Other than this, the only suggestion that I have is to search the forums.&lt;br&gt;
&lt;br&gt;
Good luck.&lt;br&gt;
&lt;br&gt;
mike.&lt;br&gt;
&lt;br&gt;</description></item><item><title>Multiple controls with the same ID</title><link>http://forums.asp.net/thread/1025257.aspx</link><pubDate>Thu, 18 Aug 2005 20:11:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1025257</guid><dc:creator>pmgerholdt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/1025257.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=98&amp;PostID=1025257</wfw:commentRss><description>I am getting a module (first 'real' module since&amp;nbsp;2.1.2)&amp;nbsp;into production and have broken it into three module interfaces in the .dnn file, so when you pull it onto the page, three modules/containers appear. Each will have their own controls but display related information.&lt;BR&gt;&lt;BR&gt;Before I split them up, all worked fine - but for purposes of being able to display in different panes I was asked if it could get split. (After the project was complete, of course.)&lt;BR&gt;&lt;BR&gt;It all compiles fine and installs fine, and pulls onto the page in three pieces. However, I get this error:&lt;BR&gt;&lt;BR&gt;&lt;SPAN class=Normal id=dnn__ctl6_lblMessage&gt;&lt;FONT color=#ff1493&gt;&lt;FONT size=2&gt;&lt;FONT&gt;Multiple controls with the same ID 'ctr' were found. FindControl requires that controls have unique IDs&lt;/FONT&gt;.&lt;/FONT&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;BR&gt;I figure that this is because behind the scenes each of these three instances uses some of the same stuff - I have a different INFO class for each one, plus a third INFO class that they all use, but one controller class. I use same naming conventions everywhere.&lt;BR&gt;&lt;BR&gt;How would I find out what to name differently so the controls in the aspx page don't have the same name and so step on each other?&lt;BR&gt;&lt;BR&gt;Thanks!&lt;BR&gt;Michael Gerholdt&lt;/SPAN&gt;</description></item></channel></rss>