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  |  

AspDotNetStoreFront
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Edit rights
Previous Previous
 
Next Next
New Post 8/27/2008 11:58 AM
User is offline dDom
11 posts
10th Ranked


Edit rights 

Hello,

Im having the following problem with all of my custom modules. When i add a linkbutton or button in my custom module "View" page the onclick event of this button is only accessible by a user with edit rights on the module. I need for Every user (unregistered) to be able to click the button.

Even in a simple Module that does not even have an Edit page and with no settings needed. Just a view page that does one simple think the DNN wont let you click any custom buttons if the user does not have edit rights

Anyone has any idea on how to be able to make a Clickable  button in a View page of a custom module without having to log in as a user with Edit Rights on the module??

Thanks in advanced

Dimitris

 
New Post 8/29/2008 9:21 PM
User is offline Stuart - Hilbert Solutions, LLC
691 posts
www.getyourowntots.com
7th Ranked


Re: Edit rights 

This doesn't seem right.  What does your button code look like on both the ascx and ascx.vb page?

Stuart


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A Dotnetnuke System Integrator
From Module Development to Project Management, your one stop Dotnetnuke Shop
 
New Post 8/29/2008 10:10 PM
User is offline Nicholas Lu
162 posts
9th Ranked


Re: Edit rights 

Please check the View.ascx has been correctly define as a "View" type in you module definition. You should check the page permission setting in the sametime, because the module will inherit the permission of the resident page.





Microsoft MVP
Chinese DNN Blog
 
New Post 8/31/2008 8:17 PM
User is offline William Severance
894 posts
www.wesnetdesigns.com
7th Ranked






Re: Edit rights 

I wish that the usual solution to this common problem were kept pinned at the top of the three Extend It! forums as I think I've answered similar post several times this past week:

Make sure that in your module's settings (Page Settings), the "Cache Time" is set to 0. You may also want to set the Cache Duration to -1 in the Host-->Module Definitions for this module or in the module's .dnn manifest file. The -1 signifies that the Cache Time will be set to 0 AND the option of changing the Cache Time will not be shown on the settings page of each instance of the module.

The tip off to this being the solution is "wierd", non-working or intermittant postbacks from buttons and other asp.net controls WHEN the user is not logged in or does not have edit privileges on the module vs proper operation otherwise.


Bill, WESNet Designs
 
New Post 9/9/2008 12:24 AM
User is offline sumit
2 posts
10th Ranked


Re: Edit rights 

Thanks William,

For this weird but correct solution,

However i would Request to help me with details Explanation of the Solution

Thanks

Sumit Arora

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Edit rights
 


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.

 


Perpetual Motion Interactive Systems Inc.
A solutions company specializing in Microsoft enterprise technologies.
www.perpetualmotion.ca
Icthus Technologies
Building Faith on the Internet
www.icthustech.com
DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com

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