Aug 29, 2013, 11:49 AM
[CLOSED] MessageBox bug
Hello support
i think you have a but in the MessageBox..
When you try to show a messagebox with the handler set it throws an error
{"success":false,"message":"Error during ClientConfig initialization. FnProxy - Object reference not set to an instance of an object.","errors":[],"values":[]}
any idea on what goes wrong
Regards
Akpenob
i think you have a but in the MessageBox..
When you try to show a messagebox with the handler set it throws an error
MessageBoxConfig mgsConf = new MessageBoxConfig()
{
Message = String.Format("<b>Status:</b></br><div>succeded:{0}<br>failed:{1}</div>{2}", success.Count, failures.Count, failureText),
Modal = true,
HeaderIcon = Ext.Net.Icon.EmailGo,
Buttons = MessageBox.Button.OK,
Title = "Message sendt"
};
mgsConf.Handler = @"function(){LIA.Window.Close(#{" + LiaWcf.ContainerID + "}); var bus = Ext.net.Bus; bus.publish('UpdateMessage');}"; //<---- this is the course for the error
Ext.Net.X.MessageBox.Show(mgsConf);
the error i get is this:{"success":false,"message":"Error during ClientConfig initialization. FnProxy - Object reference not set to an instance of an object.","errors":[],"values":[]}
any idea on what goes wrong
Regards
Akpenob
Last edited by Daniil; Sep 03, 2013 at 5:04 AM.
Reason: [CLOSED]