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  |  

PortalWebHosting
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Salaro -- Skins and more
OnyakTech
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.
SteadyRain
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Enable/Disable Edit menu-option on the View
Previous Previous
 
Next Next
New Post 6/24/2006 5:59 AM
User is offline Lindsay Miles
96 posts
10th Ranked


Enable/Disable Edit menu-option on the View 
Hi all, My users select a record from a DNN treeview in the left panel. Through IMC, I tell the View control to retrieve and display said record. All ok, works well! NOT using permissions based on role, I'd like to show/hide or enable/disable the Edit menu-option based on the OWNERSHIP of said record. ie: if the user was the one who created the record, that user can edit it else NO, unless they're an admin. I might put something like this in the OnModuleCommunication Sub. So, upon retrieving the record: If user = owner or user = admin show Edit menu-option show Delete menu - option else hide Edit menu-option hide Delete menu - option ANY ideas? thanks LM
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Enable/Disable Edit menu-option on the View
 


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.

 


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/
Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
Swanzey Internet Group LLC
DotNetNuke design, development, e-Commerce, hosting, maintenance, and training. Exclusively DotNetNuke.
www.swanzey.com

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