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.0Please help: Page_Load is not called on ascx filePlease help: Page_Load is not called on ascx file
Previous
 
Next
New Post
10/12/2007 7:23 AM
 

i posted my problem yesterday but i might not have made my problem clear enough and my observation was bit off yesterday. i will do it again.
one of the ascx file in my module consists of a few textboxes and a link button. it's a simple web form application. you click the link button to submit. followings are what i have observed:

- when not login, the web controls are not responsive. i click the submit button but nothing happens. i find out that it is because Page_Load is not called at all. i have refreshed the page or even closed the browser and open the page again, still no call to Page_Load. the weird thing is on a few times, thing comes back to normal and Page_Load is called.

- when i give a particular user the permission to edit the module and i login as that user, everything is fine. if i don't give the permission, the same problem comes back: Page_Load is not called

this is killing me. it's a simple form and i can't figure out what causes it. can anyone tell me why Page_Load is not called all the time and how it is related to the permission of the module? actually i suspect my ascx file might not  be processed at all. please help if you can or if you need to know more on problem.

 

 

 

 

 

 
New Post
10/12/2007 12:23 PM
 

i got it solved. i change the default cache time of the Module Definition to -1 and everything works fine with or without login. i understand that a default cache time of "-1" indicates that the module does not support output caching. but i still don;t know why this is causing the problem. any experts here want to share so we all can learn something  here?

 
New Post
11/18/2007 6:15 PM
 

Good one !

I almost got bald after using most of the day pulling my hair out for the excact same reason. After setting the default cache time to -1, everything fell in place  

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Please help: Page_Load is not called on ascx filePlease help: Page_Load is not called on ascx file


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