Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0navigate urlnavigate url
Previous
 
Next
New Post
12/18/2006 4:51 AM
 
i have created a module in which i created one webuser control form. now i want to navigate from "viewproduct"  to "myform " , so put link button in "viewproduct" and written a code for button click event

 Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click
            Dim objModules As ModuleController = New ModuleController
            Response.Redirect(Globals.NavigateURL(PortalSettings.ActiveTab.TabID, "spi_cart", "mid=" & CStr(ModuleId)))
        End Sub

but after clicking link button it redirects to same page without previously existing modules, it shows just blank page. i'm unable to find out problem. Actually i got code from following site and i'm not clear abt how it works

http://dotnetnuke.adefwebserver.com/DotNetNuke/tabid/195/Default.aspx

so plz help me.

thanks
 
 
 
 
New Post
12/18/2006 3:41 PM
 
As long as "spi_cart" matches a key in your module definition, it looks correct.
 
New Post
12/18/2006 3:53 PM
 

In the module definitions have you set up this second control with a definition?  You need to make sure that is done and that the KEY of that definition matches the KEY you have in your navigate url - spi_cart in this case

 


Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
12/18/2006 6:31 PM
 

The full tutorial is at:

NavigateURL: How to make a link (VB &C#)

 



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
12/19/2006 4:11 AM
 
ya i have alredy created 2nd control with keyfield"spi_cart".
what happens is that after clicking link it redirects n it shows "spi_cart" in browser url but module id is id of spimodule on home page.and a blank page appears with title of 'Home' page without module and panes.interestingly after clicking on 'Home' it shows all modules and panes. it's really confusing?
do u have any idea abt this?
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0navigate urlnavigate url


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out