CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Ajax Youtube tutorial

General discussion

by francesco » 23 Apr 2014 16:46

Hi

I tried to follow the ajax navigation tutorial on youtube,

here (https://www.youtube.com/watch?v=uKf3-4Cbpko#t=109) you use

Code: Select all
procedure TfrmMobMain.IWAppFormCreate(Sender: TObject);
var
  frm: TfrmAjaxForm; // I called THe AjaxFrame in this way
begin
  inherited;
  frm := TfrmAjaxForm.Create(WebApplication,Self);
  btnAjax.JQMLinkingOptions.loadajaxpage := frm.IWFrameRegion; //HERE LoadAjaxPage is "undeclared identifier"
  frm.IWFrameRegion.TabOrder :=1;
end;


Since LoadAjaxPage is "undeclared identifier" i cannot complete the tutorial.

Thanks.
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51

by Alexander Bulei » 23 Apr 2014 17:20

Hi francesco,

LoadAjaxPage was replaced by LinkToControl in recent versions.

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 francesco » 23 Apr 2014 17:26

Thanks, now it works.
Those youtube tutorials are nice, it would be good to have more of them, i suggest you to comment that video about the LoadAjaxPage problem.

One more thing:
I noticed I cannot call Release on the ajax form, somehow this ajax form belongs to the main form, i could only go "back". AM i right?
1) how to go back (in the video it is not 100% clear, could you please write the steps?)
2) in which cases it makes no sense to use ajax form?

Thanks a lot!
francesco
 
Posts: 38
Joined: 23 Apr 2014 09:51


Return to General

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.