Jun 27, 2011, 4:43 PM
AjaxFormResult && ExtraParams
Hello.
I'm trying to access the extraparams and I can not. There are some special form of
do?
msg : 'TesT' -> Working
action.result.extraParams.msg is not the correct way to access it?
Greetings and thank you very much
I'm trying to access the extraparams and I can not. There are some special form of
do?
<ext:Button runat="server" Text="Test" >
<DirectEvents>
<Click Url="/Data/ExcelCustom/" IsUpload="true" CleanRequest="true" Method="POST"
Success="Ext.Msg.show({
title : 'Test',
msg : action.result.extraParams.msg,
minWidth : 200,
modal : true,
icon : Ext.Msg.INFO,
buttons : Ext.Msg.OK
});">
</Click>
</DirectEvents>
</ext:Button>
public AjaxFormResult ExcelCustom()
{
AjaxFormResult response = new AjaxFormResult();
response.IsUpload = true;
response.ExtraParams["msg"] = "It's a Test";
return response;
}
msg : action.result.extraParams.msg -> Not workingmsg : 'TesT' -> Working
action.result.extraParams.msg is not the correct way to access it?
Greetings and thank you very much