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/15/2007 10:11 PM
 

Hi,

I am just a novice to DotNotNuke. I am using DotNetNuke 4.5.5 version and have created a DNN module which is very simple, it just contains a button and a label control. Once button is clicked then label shows some text message. My problem is that button click event handler is not invoked all the time when I click button. A few time it does but most of the time it doesn't. After some investigation I found that Default.aspx page event handlers are called every time in following sequence.

Page_Init

Page_Load

Page_PreRender

Between Page_Load and Page_PreRender, sometimes it calls my control Page_Load event handler and button click event handler but most of the time it doesnt.

Any help/idea to solve this issue? as I am really frustrated now

 
New Post
8/15/2007 11:43 PM
 

Ok - firstly - do you have a button event coded.

And secondly how is it coded.

???

 
New Post
8/16/2007 3:10 AM
 

Hi, I got almost the same question as you did. I post it on this URL:http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/threadid/161142/scope/posts/Default.aspx

and I'm still waiting for answer.

I suggest you change the Button to a LinkButton and check it if works on Page Edit Mode, If it works on Page Edit Mode but NOT WORK on Page View Mode, you and I have the same question.

I think it's DNN's total security mode cause this.

 
New Post
8/16/2007 2:55 PM
 

It's the cache settings for the module. Set it to 0. BTW this is the most common gotcha. Check the pinned thread at the top of this forum.


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/16/2007 4:46 PM
 

hooligannes,

I have already setup Module default cache to 0 but problem is still there. Between if I close all the browsers then re-opn a browser window, delete everything from cache, recompile my DotNetNuke web site then it works but stop working afterwards if I use some other user controls inside my View page user control. Any idea how to resolve it?

hz_yang, I didn't try it inside Edit Mode, I will try it but I wana use it in view mode. Thanks.

 
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