Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

PortalWebHosting
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  NavigateUrl and multi module
Previous Previous
 
Next Next
New Post 11/27/2007 12:35 PM
User is offline Eric Piraux
19 posts
10th Ranked


NavigateUrl and multi module 

Hi,

The Module i'm developing contains several other (sub) modules like the mdoule Blog.

In the .dnn file you can read such module definition

      <modules>
        <module>
          <friendlyname>AAA</friendlyname>
          <cachetime>60</cachetime>
          <controls>
            <control>
              <src>DesktopModules/AtSchool/ViewClasses.ascx</src>
              <type>View</type>
              <helpurl></helpurl>
            </control>
            <control>
              <key>Edit</key>
                [...]
            </control>
          </controls>
        </module>
        <module>
          <friendlyname>BBB</friendlyname>
          <cachetime>0</cachetime>
          <controls>
            <control>
               <key>ViewKids</key>
              <src>DesktopModules/AtSchool/ViewKids.ascx</src>
              <type>View</type>
              <helpurl></helpurl>
            </control>

                [...]

 

Now, when I want to get an Url to navigate

 

  • from (sub)module with friendly name AAA - control ViewClasses.ascx - 
  • to (sub)module with friendly name BBB - ViewKids.ascx

I need the tell the DotNetNuke.Common.Globals.NavigateURL to reference the Url of the module BBB.

I don't know how to do that, if someone has already stucked on that, he'd be kind to let me know the solution.

 

Regards,

 

Eric

 

 
New Post 11/27/2007 5:51 PM
User is offline William Severance
787 posts
www.wesnetdesigns.com
7th Ranked






Re: NavigateUrl and multi module 
Modified By William Severance  on 11/27/2007 9:52:52 PM)

You'll need to determine both the TabID (unless both AAA and BBB modules are on the same Page/Tab) and ModuleID of the BBB module.  Note that AAA and BBB module instances will not have the same ModuleID's. See my response to your other post as to ways to obtain this information.  Then, the following "should" work (but is untested):

NavigateURL(TargetTabID, "ViewKids", "mid=" & TargetModuleID.ToString)

Note that you can add additional parameters if these need to be passed via the querystring.

 


Bill, WESNet Designs
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  NavigateUrl and multi module
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Convert Visitors to Customers
In order to bring value to your users, we must first understand them. VIVIDSITES will help you build a custom web application and interactive marketing tools that your users will thank you for. We marry high-end creative with head banging technology to entertain and convert visitors into paying customers. Call 314.514.0505 or visit us at http://www.vividsites.com to find out how.
- V I V I D S I T E S -
Gearworx Web Hosting
As a premier provider of Web Hosting, Private/White Label hosting, Server Colocation, Dedicated Server, and other Managed Services, Gearworx offers an array of services designed to more effectively manage strategies driving businesses on the Web. Headquartered in Fremont, California our state of the art tier one data centers and distributed managed services environment enables Gearworx to offer your business enterprise level solutions through simplified processes.
Gearworx Web Hosting
Glanton: Enterprise Intranet Specialists Using DNN
Glanton Solutions are a premier provider of sevices for large corporates lloking to outsource Intranet sites.
www.glanton.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP