Hi,
Thanks for your answers.
I tried setting the caching duration to 0. It stopped the random behavior of the controls (the standard "Menu" control I had put for testing used to have some weird beahvior...), but still does not solve my problem.
And I don't excpect any special function from my module for now, I just want it to perform a simple action.
Here are my markup and my code :
<%@ Control Language="VB" AutoEventWireup="true" CodeFile="test.ascx.vb" Inherits="LiveData.Modules.GestionClients.test" Explicit="true"%>
<asp:Button ID="Button1" runat="server" Text="Button" />
<asp:Label ID="Label1" runat="server" Text="Text"></asp:Label>
<asp:Menu ID="Menu1" runat="server">
<Items>
<asp:MenuItem Text="test" Value="test">
<asp:MenuItem Text="test" Value="test"></asp:MenuItem>
</asp:MenuItem>
</Items>
</asp:Menu>
Imports DotNetNuke
Imports DotNetNuke.Entities.Modules
Imports System.Collections.Generic
Imports System.Reflection
Imports System.Web.UI
Namespace LiveData.Modules.GestionClients
Partial Class test
Inherits Entities.Modules.PortalModuleBase
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Label1.Text = Label1.Text & " OK"
End Sub
End Class
End Namespace