CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Create dynamic Frame JQM

General discussion

by cleversonviana » 25 Feb 2016 21:03

I want do something like this:

In the main form, I have JQM components.... (Top/Header and IWCGJQMRegion all client in the middle).

In the header I have one button..

I want create TIWCGJQFrame3 dynamic and shows inside the IWCGJQMRegion2 from IWForm1.

How to do that ?

Please help me..
cleversonviana
 
Posts: 19
Joined: 25 Feb 2016 19:56

by Alexander Bulei » 26 Feb 2016 10:02

Hi cleversonviana,

You need use the same method as in desktop.
Search for RenderRegionAsync or AjaxReRender methods in our forum.
Also, check our desktop demo, we have the example how do that.

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 cleversonviana » 27 Feb 2016 06:11

Now it's working, but there's one thing not working...

Inside TIWCGJQFrame3 I do have a button with async event. When I click in this button, nothings happens..

It's no firing the async events from the TIWCGJQFrame3 that was created insiDE the IWCGJQMRegion


Here is my code:

if assigned(frm) then
FreeAndNil(frm);

frm := TIWCGJQMAjaxPageFrame5.Create(Self);
frm.Name := 'form' + intToStr(Self.Tag);
Self.Tag := Self.Tag + 1;
frm.IWCGJQMContent.Parent := IWCGJQMRegion2;
IWCGJQMRegion2.AjaxReRender(true, true);
cleversonviana
 
Posts: 19
Joined: 25 Feb 2016 19:56

by assapan » 28 Feb 2016 18:57

Hi,
You must not have Mobile frame using non mobile components like TIWCGJQButton , use TIWCGJQMButton instead and use JQMButtonOptions.vclick event.
Maybe i'm wrong because i don't know what kind of button you create and how !.
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by cleversonviana » 29 Feb 2016 01:19

Thanks for the reply..

If you can help me, here is my source code....

https://www.dropbox.com/s/na315vpl12i71nm/TesteAjaxMobile.rar?dl=0%20...%20e.rar?dl=0
Last edited by cleversonviana on 29 Feb 2016 17:16, edited 1 time in total.
cleversonviana
 
Posts: 19
Joined: 25 Feb 2016 19:56

by Alexander Bulei » 29 Feb 2016 10:00

Hi cleversonviana,

Please use URL tags when you want post the link.

Code: Select all
[url][/url]


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 cleversonviana » 01 Mar 2016 02:03

Anyone could please help me on this ?
cleversonviana
 
Posts: 19
Joined: 25 Feb 2016 19:56

by Alexander Bulei » 01 Mar 2016 12:33

Hi cleversonviana,

We have detected some issues in your page structure and in method of calling the frame.
But also, we have detected and improved the renderization of components (Fix).
So, you will need the latest build (not commited yet), and modified project by us.
We will notify you asap.

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 cleversonviana » 01 Mar 2016 18:32

Thanks for the reply.. Do you have any estimate date to have this working ?
cleversonviana
 
Posts: 19
Joined: 25 Feb 2016 19:56

by Alexander Bulei » 01 Mar 2016 18:57

Hi cleversonviana,

Thanks for the reply.. Do you have any estimate date to have this working ?


Yes, tomorrow at morning, I will upload the new version and send you your modified demo.

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

Next

Return to General

Who is online

Users browsing this forum: No registered users and 3 guests

Contact Us.