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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Suggestions for implementing multiple web access controls
Previous Previous
 
Next Next
New Post 5/5/2008 9:37 PM
User is offline Walkingpig
19 posts
10th Ranked


Suggestions for implementing multiple web access controls 

Hello,

After searching the forum i didn't find any others that seem to have this query, and have read Michael Washingtons tutorial on navigating to additiona controls - however they fire from click events on buttons within the module code.

I am building a module for our website at the moment, its functionality is as follows: There is a table of Products, and a table of margins (%). i have a number of different 'views' of this data i wish to make available to the end users. I had intended to simply create multiple ascx pages..

for example, a page that simply displays a gridview of the products (whole sale price).
a page that shows the products pricing modified by the relative margins
A page that shows editable fields for changing the margins for different products.

I had considered simply having a single ASCX file that enabled/disabled the various gridviews etc as per URL based directive, and can still do this, however i've started coding as separate pages thus far - it doesn't really matter.

My question is, I would my wonderful built in DNN dropdown menu, to show "Pricing" and when you click, it drops down to show 3 options - i cannot see a way of doing this without actually creating separate pages and specifying "Pricing" as the parent, and then i need to create a module anyway to place on the page to trigger the NavigateURL(), or simply to split up the module into 3 separate modules...

Is there something simple i'm missing? What is an advisable way to achieve what i want from the menu?

Thanks again, Charles

 
New Post 5/5/2008 10:14 PM
Online now... Chris Hammond
2793 posts
engagesoftware.com
5th Ranked








Re: Suggestions for implementing multiple web access controls 

If you're loading your different controls based on a querystring parameter, through one control that acts as a "loader" you can create new "pages" in DNN, and instead of them being actual pages have them go to a predefined URL, the URL being your existing page with different querystring parameters being passed to that one page.

Are you following what I'm saying?


Chris Hammond
Engage Software
St. Louis, MO
314.966.4000


The leading provider of DotNetNuke skinning, training and custom module development.
Official DotNetNuke® Training Provider
 
New Post 5/5/2008 10:21 PM
User is offline Walkingpig
19 posts
10th Ranked


Re: Suggestions for implementing multiple web access controls 

Chris,

What i think you're saying, is that each sub-menu item contains a parameter in the querystring that allows my code to identify what content to load? If this is so, yes i'd thought about this and am happy to rework what i've done so far into a single user control with visisbility constraints - however i have no idea how i would modify the built in menu links to incorporate a query string? In my limited experience so far, i add a page - name it, select a parent, and it appears magically in the menu! how can i add a parameter to those pages to achieve my goal?

Thanks

 
New Post 5/5/2008 10:26 PM
Online now... Michael Washington
2757 posts
ADefWebserver.com
5th Ranked










Re: Suggestions for implementing multiple web access controls 

I have found the MultiView control is my answer in these situation. The main reason is that I always have all the variables needed to make decisions. For example, if they chose option A on the first "screen" (panel), when they ask for pricing I can display something different than if they chose option B on the first "screen".



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 5/5/2008 10:42 PM
User is offline Walkingpig
19 posts
10th Ranked


Re: Suggestions for implementing multiple web access controls 

Michael,

Thankyou for pointing out the multiview to me, it seems the perfect way to achieve what i'm after should i incorporate all "pages" into 1 web control. I can see how to use a query string parameter to tell my page which view to activate, however again i'm stuck with this - is there a way to add a parameter to my DNN generated menu if i was to simply add 3 pages, all calling the same module?

Charles

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Suggestions for implementing multiple web access controls
 


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.

 


SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com
AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com

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