Feb 09, 2011, 9:01 PM
[CLOSED] help for a beginner! as a procedure call ?
Hi, I have this code I got from the demos Ext.Net, I'd like to know is how instead of calling a
Ext.Msg.alert('Submit', 'Saved!'); can call a public void .... To run a code that I have.
Ext.Msg.alert('Submit', 'Saved!'); can call a public void .... To run a code that I have.
<Buttons>
<ext:Button runat="server" Text="Save">
<Listeners>
<Click Handler="if (#{FormPanel1}.getForm().isValid()) {Ext.Msg.alert('Submit', 'Saved!');}else{Ext.Msg.show({icon: Ext.MessageBox.ERROR, msg: 'FormPanel is incorrect', buttons:Ext.Msg.OK});}" />
</Listeners>
</ext:Button>
</Buttons>
I await your response, Gracias.
Last edited by julioc_m18; Feb 10, 2011 at 2:10 PM.