Apr 18, 2011, 10:47 AM
[CLOSED] DirectMethods not called anymore
I know this is too little info perhaps, but this is all I can do now. Maybe someone gets a "aha!" when they read this.
All of a sudden Click Listeners refuse to fire the DirectMethod. It just stopped working, and I cant see any reason for it.
there are no javascript errors in the browser, and I have but a breakpoint in the code-behind - it never breaks and the code that is supposed to execute does not fire.
All of a sudden Click Listeners refuse to fire the DirectMethod. It just stopped working, and I cant see any reason for it.
there are no javascript errors in the browser, and I have but a breakpoint in the code-behind - it never breaks and the code that is supposed to execute does not fire.
<TopBar>
<ext:Toolbar ID="Toolbar_Customer2" runat="server">
<Items>
<ext:Button ID="Button_Customer1" runat="server" Icon="Add" Text="Create">
<Listeners>
<Click Handler="#{DirectMethods}.asd();" />
</Listeners>
</ext:Button>
</Items>
</ext:Toolbar>
</TopBar>
the directmethod:[DirectMethod]
public void asd()
{
X.Msg.Alert("TEst", "TEst1").Show();
}
It is never called! Anyone know why?
Last edited by Daniil; May 06, 2011 at 3:23 PM.
Reason: [CLOSED]