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.0Button Event Handler is not called in a custom developed DNN 4.5.5 moduleButton Event Handler is not called in a custom developed DNN 4.5.5 module
Previous
 
Next
New Post
8/17/2007 8:04 AM
 

hi,

I have the same problem and found a workaround:

Open the page and wait for about 1 or 2 minutes, now your button event handlers will be called :-S.

Do not ask me why!

If you do not want to wait for a while, you can login as host and select edit mode: the button event handlers will be called.

PS: yes, the module cache time is set to 0.

 
New Post
8/17/2007 10:10 AM
 

There's two places where module caching is set. At Module Definitions (this will affect all instances of a module) and at Module Settings of the specific instance (of course this only affects THAT instance). Module settings ALWAYS overrides Module Definition caching. What I imagine you have done is just change it at Module Definitions. That's why it is working when the cache expires.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
8/17/2007 10:53 AM
 

hooligannes 2.0 wrote

There's two places where module caching is set. At Module Definitions (this will affect all instances of a module) and at Module Settings of the specific instance (of course this only affects THAT instance). Module settings ALWAYS overrides Module Definition caching. What I imagine you have done is just change it at Module Definitions. That's why it is working when the cache expires.

 

Hooligannes is exactly right.  I had the same problem where I could not update any text values as a normal user.  However, everything worked when I was logged on as Host.  You MUST change the default cache settings under the instance. 

Go to your module that you are working on

Click on the arrow for the menu options and select Settings

Go to the Page Settings Section

Set Cache Time (secs) to 0

 

You will want to do the same things under Module Definitions under the Host menu. 

 

Thank you for posting this, I have spent a TON of time trying to fix this issue.

 

 

 
New Post
8/17/2007 11:13 AM
 

Thanks hooligannes,

I found a solution for that. I don't know if it's a permanent solution or just a trick. I just uninstalled the module, opend its .dnn file and changes <cachetime>60</cachetime> to <cachetime>0</cachetime>. Then I re-created the module in my DotNetNuke web site and it worked as expected.

After reading your post when I checked module settings from the page which contain my module, I found Cache Time set to 0 under page "Page Settings --> Basic Settings" section of "Module Settings". I guess this is the same thing you are talking about. Right?

 
New Post
8/18/2007 1:19 AM
 

hooligannes is absolutely right, and thank you very much.

 

I query this for a while and they tell me and just keep saying: This is a common problem and just set cache to 0.but, as almost a beginner, I just know the Module Definitions can set chche, and I really don't know a module instance can set the cache too. When I saw hooligannes's post and set the module instance's cache, guess what? IT WORKS!

Althougn this is so sample a question, but as DotNetNuke expanding so fast, there're more and more beginners joining, so tell us just the answer, we can extend it well.

Thank hooligannes again.

 

And I think I can teach other beginner now :)

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Button Event Handler is not called in a custom developed DNN 4.5.5 moduleButton Event Handler is not called in a custom developed DNN 4.5.5 module


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