CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Resize region at runtime

by George » 13 Nov 2013 19:45

cgdevtools_support wrote:Hi
what you mean by context of the js object?
Regards
Place, where BrowserParam.browserScript executes.
javascript code
$(function () {
$("#IWCGJQDIALOGEX1").dialog({
resize: function (event, ui) { // function context, i can use "event" and "ui" variables in BrowserParam.browserScript
var url = "&ajaxevent=JQDialogOptions.OnResize";
url = url + "&event=" + encodeURIComponent(event);
url = url + "&ui=" + encodeURIComponent(ui);
url = url + "&UIc=" + encodeURIComponent(JSON.stringify(ui, null)); // where "ui" is IWCGJQDialogEx1.JQdialogOptions.OnResize.BrowserParam.browserScript
executeAjaxEvent(url, IWCGJQDIALOGEX1IWCL, "IWCGJQDIALOGEX1.DoAjaxRequest", true, null, true);
},
...
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 13 Nov 2013 20:01

Do you mean a text editor with javascript intellisense like for .Script?

Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by George » 13 Nov 2013 20:14

No.
Question was, where this JS executes.
As i figured out in prev post, code executes under "resize: function". This mean, i can use any variables from "resize: function" in BrowserParam.browserScript code.
- and i have no questions here.

Do you mean a text editor with javascript intellisense like for .Script?

If there was such editor, question would not have arisen :)
And code editing will be easier.
Now i know, that all parameters from IWCGJQDialogEx1.JQdialogOptions.OnResize.Arguments also available in BrowserParam.browserScript code.

javascript intellisense like for .Script

I did't see intellisense or any code hints in this dialog...
And right tree is pretty small especially without splitter (resize line).
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 13 Nov 2013 20:38

Hello

Question was, where this JS executes.


Ah, it's before calling the event to server.

I did't see intellisense or any code hints in this dialog...


in the script editor if you use

Code: Select all
$(<#IWCGJQDialogEx1#>).


And the Ctrl+Space, you can see a javascript intellisense popup.

Best Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by George » 13 Nov 2013 20:44

Strange... When i press ctrl+space, one space added.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 13 Nov 2013 21:39

Yes, I confirm

That's because the Dialog has no html render, if you try in a button it does intellisense

Another thing to cover :/

Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by George » 21 Feb 2014 07:38

Hi!

wRegion.JQResizeOptions.OnStart, wRegion.JQResizeOptions.OnStop: ajax events not implemented:
Exception class EIWCGJQuery with message 'Ajax event "JQResizeOptions.OnStop" not found!'.
Demo
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by George » 28 Feb 2014 16:31

:roll:
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Alexander Bulei » 28 Feb 2014 16:42

Hi George,

We are apologize for missing your question.
I will check it right now.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Alexander Bulei » 28 Feb 2014 18:16

Hi George,

2.0.0.3393

JQRegion
- Published JQResizeOptions


And works as expected ;)

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

PreviousNext

Return to JQRegion

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.