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  |  

GoGrid - Deploy a Windows Server in the Cloud in Minutes!
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


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/15/2007 7:11 PM
User is offline Syed Danish
6 posts
10th Ranked


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

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 8:43 PM
User is offline Wes Tatters
409 posts
8th Ranked


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

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

And secondly how is it coded.

???

 
New Post 8/16/2007 12:10 AM
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 

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 11:55 AM
User is offline Hooligannes
1443 posts
www.nesinteractivos.com
6th Ranked






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

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?
The Dúnadan Raptor
Check My Blog for DNN advice and more
 
New Post 8/16/2007 1:46 PM
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 

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 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.

 


Intura Vision / Intura Enterprise
Point-of-Sale and business management applications targeted towards quick service, fast casual and delivery-based restaurant concepts.
www.intura.com
Dnaxp.Net
Dnaxp.Net offers a comprehensive base of information, resources, and support for DotNetNuke.
www.dnaxp.net
DNNMasters - modules, consulting, development
DNNMasters developers are involved in DNN development since DNN 1.0.9 and today we offer a broad range of DNN related products and services including custom development of modules, help with ing third party modules for specific needs, general DNN technical support and administrative services.
www.dnnmasters.com

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