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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Button Event Handler is not called in a custom developed DNN 4.5.5 module
Previous Previous
 
Next Next
New Post 8/17/2007 6:04 AM
User is offline ura
2 posts
10th Ranked


Re: Button Event Handler is not called in a custom developed DNN 4.5.5 module 

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 8:10 AM
User is offline Hooligannes
1589 posts
www.nesinteractivos.com
5th Ranked






Re: Button Event Handler is not called in a custom developed DNN 4.5.5 module 

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?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
New Post 8/17/2007 8:53 AM
User is offline Kris Zabriskie
5 posts
10th Ranked


Re: Button Event Handler is not called in a custom developed DNN 4.5.5 module 

 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 9:13 AM
User is offline Syed Danish
6 posts
10th Ranked


Re: Button Event Handler is not called in a custom developed DNN 4.5.5 module 

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/17/2007 11:19 PM
User is offline hz_yang
11 posts
12
10th Ranked


Re: Button Event Handler is not called in a custom developed DNN 4.5.5 module 

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 Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Button Event Handler is not called in a custom developed DNN 4.5.5 module
 


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.

 


Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com
Module Development by Engage Software
Specializing in custom module development, training and skinning.
www.engagesoftware.com
BataviaSoft DotNetNuke Solutions
BataviaSoft offers custom DotNetNuke solutions especially for the European and the South East Asian market.
www.bataviasoft.com

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