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  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
 


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.

 


Personify Design, Inc.
Seattle-based Personify Design has developed customized DotNetNuke websites for a wide range of customers to meet many different types of needs, including distributed authorship across thousands of pages to integrated Verisign e-commerce capabilities.
www.personifydesign.com
DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com
Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au

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