CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

CGMMessageDlg();

General discussion

by Aggie85 » 12 Jun 2016 23:20

Howdy All!

If I encounter an exception during a mobile web page's OnRender() event, I am trying to display an error via the

CGMMessageDlg();

routine like I do with the desktop equivalent but I am getting the following error message:

Method cannot be called in non Ajax Requests Processing!

Any idea how I can do this or suggest a different approach? I am basically looking for the equivalent of a MessageBox() that I can use for mobile!

Thanks,

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24

by Jorge Sousa » 13 Jun 2016 11:10

Hello

I'm sorry Aggie, but CGMMessageDlg its possible only in ajax (async) events, which is not the case if OnRender, this is called on a full submit event.

The only suggest i have for the moment is using WebApplication.ShowMessage, sorry.
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by Aggie85 » 13 Jun 2016 13:23

Thanks!

Aggie85
Aggie85
 
Posts: 273
Joined: 15 May 2013 02:24


Return to General

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.