asp.net - DotNetNuke module Page_Load fires twice -



asp.net - DotNetNuke module Page_Load fires twice -

my module's page_load event firing twice each "actual" load. on initial load both loads' page.ispostback property false.

i've renamed page_load module_load verify name wasn't issue. i've made sure method isn't handling both me.load , mybase.load, has been case in past.

the thing i'm doing out of ordinary module inheriting intermediate base of operations class. culprit?

my module:

namespace modules.redactednamespace public class list inherits redactedmodulebase protected sub module_load(byval sender object, byval e system.eventargs) handles me.load if not me.page.ispostback bindlist() end if end sub end class end namespace

my base:

namespace modules.redactednamespace public mustinherit class redactedmodulebase inherits dotnetnuke.entities.modules.portalmodulebase end class end namespace

edit (this fixed it) - had image without imageurl. presumably set collapsiblepanelextender rendered blank src.

this can happen if have img tag empty src attribute.

i know sounds strange, believe has web browser trying figure out how load image blank src.

i don't know protocols involved, i'd bet there ambiguity regarding how resolve empty string.

so, in case of browsers, fires web request current url hoping image comes back.

sounds reasonable assumption, happens break many asp.net web forms.

asp.net vb.net dotnetnuke

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -