DotNetNuke Page_Load module fires twice

My module Page_Load event is fired twice for each "actual" load. At boot, the load property. Page.IsPostBack is false.

I renamed Page_Loadto Module_Loadto verify that the name was not a problem. I made sure that the method does not process both Me.Load, and MyBase.Loadthat was in the past.

The only thing I do out of the ordinary is that my module inherits from an intermediate base class. Could this be the culprit?

My module:

Namespace Modules.RedactedNamespace
    Public Class List
        Inherits RedactedModuleBase

        Protected Sub Module_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            If Not Me.Page.IsPostBack Then
                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

Change (this is fixed) . I had an image without ImageUrl. Presumably this is set by my CollapsiblePanelExtender, but displays with an empty src.

+5
1

, img src.

, , , , - , SRC.

, , , .

, - URL-, , .

, - ASP.Net.

+6

All Articles