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  |  

Affordable ASP.NET Hosting Service
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


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
16 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
User is offline Chris Hammond
2471 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
16 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
User is offline Michael Washington
2531 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
16 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.

 


Live Visitor Tracking & Live Chat For DotNetNuke
Track your visitors in real time and add live chat for sales & support. Free Trial.
www.whoson.com
SINA101
WANT A SPECial sIte iN TAIWAN?
sina101.com
Web Development and Strategy Firm
The Risdall Interactive Agency s websites, strategies, branding, & promotion in digital space.
www.Risdall.net/

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