O'Reilly logo

Building Websites with DotNetNuke 5 by Ian Lackey, Michael Washington

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Navigation

Because a DotNetNuke module is a collection of web controls, you will need to navigate between them. We will now implement two forms of navigation:

  1. NavigateURL: Used to create links that navigate between web controls
  2. IActionable: Used to display a menu that will also navigate between web controls

To demonstrate this, we will create an Edit web control. For now it will just say Hello Edit!. Later we will alter it to complete the Coffee Shop Listing module.

NavigateURL

The following code will demonstrate how to create links that use NavigateURL.

In Visual Studio, right-click on the Coffee Shop Listing folder and select Add New Item.

When the Add New Item menu comes up, select Web User Control and enter EditShopList.ascx in the Name box. Ensure ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required