Mar 11, 2010, 5:49 AM
take value of return function
hi,
[AjaxMethod]
public string box()
{
return "sample";
}
ext:ToolbarButton ID="ToolbarButton2" runat="server" Text="Refresh" Icon="ArrowRefresh">
<Listeners>
<Click Handler="Ext.Msg.alert('info', #{AjaxMethods}.box());" />
</Listeners>
</ext:ToolbarButton>
When I Click the button I want to see value of function in this example alertt will be displayed "sample" but doesn t work, pls anyone help about this...