Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Modules Problem with non-Admin userModules Problem with non-Admin user
Previous
 
Next
New Post
12/17/2009 8:22 PM
 

Sorry that did not help. Often when the issue is that the module's view control functions properly for the admin/host user but not for other users with only view permission on the module, the module's Cache Time has been set to a non-zero value. Output caching interferes with normal asp.net control postbacks so that when the user clicks on a button or other interactive control the page posts back but the control's handler is never called.

I am confused by your question:  "Why in the View mode the module (mal)function differently than in the View mode even though they are both pointing to the same ascx page?" Please describe each of the .ascx user controls in your module definition:

1. Name of .ascx user control source file?
2. Control Key registered for the .ascx file.
3. Type of user control - View, Admin, Edit, etc?


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
12/20/2009 5:08 AM
 

William, thanks for the reply.

It was my mystake quoting: "...differently than in the View mode ". it should be : "...differently than in the Edit mode ".

I set the cache time to a non-zero value, as you suggested - still not good.

I can tell you that in the View mode, while debugging - I can see that the page_load event (of the control) is not being fired. It is more or less what you described, but still... nothing seems to.

Here are rest of details:
For the Edit Control:
1. EditCLIDGroup.ascx
2. Both Edit and View ("View" label is not mentioned as control title in the module definitions page - it is empty) are registered for the "DesktopModules/CLIDGroup/EditCLIDGroup.ascx"
3. It should be used as view and edit purposes.

 

3. View

 

 

 
New Post
12/20/2009 6:12 PM
 

William, All !
I got this working !!!
I (re)set the cache time to a non-positive number - I set it not to 0 (as I tried in one of my previously tests), but to -1. And YES - IT WORKED !!!!
After navigating through the forums - this is a quite common problem - It seems like this is the ultimate solution for the View mode problem.
Guy

 

 

 

 

 
New Post
12/21/2009 12:53 PM
 

Setting the module instance's Cache Time to 0 should have had the same effect as setting it to -1. Perhaps the change did not take effect until the browser cache was cleared or the DNN application was restarted. Setting the Cache Time to -1 in the module's definition (not in the module settings) does cause the Cache Time of any new instances of the module that are added to the page to "hide" the Cache Time setting from the administrative user so that it cannot be accidentally set to a non-zero value.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Modules Problem with non-Admin userModules Problem with non-Admin user


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out