Using Ext.Msg.Alert in Asp.net
- by Nguyen Son
Ext.onReady(function(){
if (Ext.get('ctl00_ContentBody_txtCM').dom.value == "")
{
Ext.MessageBox.alert("Status", "You have input CM!", function()
{
Ext.get('ctl00_ContentBody_txtCM').focus();
}
);
}
when submit button,it postback server before.Please help me.I using asp.net
Thanks