<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: DotNetNuke Modules &#8211; Finding The Page a Module is On</title>
	<atom:link href="http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/</link>
	<description>ASP.NET, HTML, CSS, Visual Studio, CSharp, VB.NET and other programming items of interest.</description>
	<lastBuildDate>Mon, 15 Mar 2010 11:52:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/comment-page-1/#comment-866</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Wed, 17 Sep 2008 00:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/#comment-866</guid>
		<description>Without running I&#039;d have to say no only because it looks like really old syntax if it worked at all.</description>
		<content:encoded><![CDATA[<p>Without running I&#8217;d have to say no only because it looks like really old syntax if it worked at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ant</title>
		<link>http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/comment-page-1/#comment-865</link>
		<dc:creator>Ant</dc:creator>
		<pubDate>Tue, 16 Sep 2008 23:38:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/#comment-865</guid>
		<description>Private Function GetFirstModuleTabId(ByVal PortalId As Integer, ByVal moduleName As String) As Integer
    Dim objModuleController As DotNetNuke.Entities.Modules.ModuleController = New ModuleController()
    Dim moduleList As ArrayList = objModuleController.GetModulesByDefinition(PortalId, moduleName)
    
    For Each modInfo As ModuleInfo In moduleList
        Return modInfo.TabID
    Next
    Return 0
End Function</description>
		<content:encoded><![CDATA[<p>Private Function GetFirstModuleTabId(ByVal PortalId As Integer, ByVal moduleName As String) As Integer<br />
    Dim objModuleController As DotNetNuke.Entities.Modules.ModuleController = New ModuleController()<br />
    Dim moduleList As ArrayList = objModuleController.GetModulesByDefinition(PortalId, moduleName)</p>
<p>    For Each modInfo As ModuleInfo In moduleList<br />
        Return modInfo.TabID<br />
    Next<br />
    Return 0<br />
End Function</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ant</title>
		<link>http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/comment-page-1/#comment-864</link>
		<dc:creator>Ant</dc:creator>
		<pubDate>Tue, 16 Sep 2008 23:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/#comment-864</guid>
		<description>Will it be better if we do this?

Dim objModuleController As DotNetNuke.Entities.Modules.ModuleController = New ModuleController()
Dim moduleList As ArrayList = objModuleController.GetModulesByDefinition(PortalId, moduleName)
For Each modInfo As ModuleInfo In moduleList
    &#039;Return modInfo.TabID
Next</description>
		<content:encoded><![CDATA[<p>Will it be better if we do this?</p>
<p>Dim objModuleController As DotNetNuke.Entities.Modules.ModuleController = New ModuleController()<br />
Dim moduleList As ArrayList = objModuleController.GetModulesByDefinition(PortalId, moduleName)<br />
For Each modInfo As ModuleInfo In moduleList<br />
    &#8216;Return modInfo.TabID<br />
Next</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/comment-page-1/#comment-862</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 16 Sep 2008 16:38:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/#comment-862</guid>
		<description>Yes, it is (was).

As is common with most of my post I only gave you the specifics on how to retrieve the information.  I did not tell you what to do with it.

IF you need to find out where a module is, this is how you do it.  And even if you use this method, you wouldn&#039;t retrieve it every time you hit the page because even on a relatively small site, you&#039;d get killed on performance.</description>
		<content:encoded><![CDATA[<p>Yes, it is (was).</p>
<p>As is common with most of my post I only gave you the specifics on how to retrieve the information.  I did not tell you what to do with it.</p>
<p>IF you need to find out where a module is, this is how you do it.  And even if you use this method, you wouldn&#8217;t retrieve it every time you hit the page because even on a relatively small site, you&#8217;d get killed on performance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Néstor Sánchez</title>
		<link>http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/comment-page-1/#comment-861</link>
		<dc:creator>Néstor Sánchez</dc:creator>
		<pubDate>Tue, 16 Sep 2008 16:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.dmbcllc.com/2008/09/15/dotnetnuke-modules-finding-the-page-a-module-is-on/#comment-861</guid>
		<description>The tab iteration on a portal with thousands of pages will be quite expensive. A better solution from an architectural point is that the Checkout module saves its location to the DB, either by way of a module setting or a specific field in a module configuration table. In that manner, your other modules can retrieve this directly.</description>
		<content:encoded><![CDATA[<p>The tab iteration on a portal with thousands of pages will be quite expensive. A better solution from an architectural point is that the Checkout module saves its location to the DB, either by way of a module setting or a specific field in a module configuration table. In that manner, your other modules can retrieve this directly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.204 seconds -->
