Alpha Video Training
Results 1 to 6 of 6

Thread: Working msg in div using Xbasic target in Action Javascript to open a report

  1. #1
    "Certified" Alphaholic kingcarol's Avatar
    Real Name
    Carol King
    Join Date
    Jun 2010
    Posts
    1,536

    Default Working msg in div using Xbasic target in Action Javascript to open a report

    I have been using the Xbasic target in the Action Javascript genie for printing a report successfully, but can't get the working message to appear in a div. I put a div in the freeform area above the grid like this: <div id="{Grid.ComponentName}_feedback"></div>
    and then put 'feedback' as the div to use for the working message, but no working message appears while the report is being prepared.
    Here is a screenshot of the Action Javascript genie: http://screencast.com/t/fGU5lFrfe

    There's probably something else I'm supposed to do to get the working message, but the genie makes me think that Alpha is going to handle it. Has anyone else used the Xbasic target and gotten a working message to appear in a div?
    Carol King
    Developer of Custom Homebuilders' Solutions (CHS)
    http://www.CHSBuilderSoftware.com

  2. #2
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Working msg in div using Xbasic target in Action Javascript to open a report

    I would try <div id="feedback"></div> instead.
    Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

  3. #3
    "Certified" Alphaholic kingcarol's Avatar
    Real Name
    Carol King
    Join Date
    Jun 2010
    Posts
    1,536

    Default Re: Working msg in div using Xbasic target in Action Javascript to open a report

    You are my hero, Frank! That did the trick! Thank YOU!!!!
    Carol King
    Developer of Custom Homebuilders' Solutions (CHS)
    http://www.CHSBuilderSoftware.com

  4. #4
    "Certified" Alphaholic kingcarol's Avatar
    Real Name
    Carol King
    Join Date
    Jun 2010
    Posts
    1,536

    Default Re: Working msg in div using Xbasic target in Action Javascript to open a report

    Ooops, now there's another issue. It appears that the div to show the working... message only works one time?? It works first time the button for the report is clicked, but then does not work again unless I close and reopen the grid. Short video: http://screencast.com/t/KZBFUuW8
    Carol King
    Developer of Custom Homebuilders' Solutions (CHS)
    http://www.CHSBuilderSoftware.com

  5. #5
    Alpha Software Employee Selwyn Rabins's Avatar
    Real Name
    Selwyn Rabins
    Join Date
    Mar 2000
    Location
    Boston, MA
    Posts
    5,306

    Default Re: Working msg in div using Xbasic target in Action Javascript to open a report

    I noticed that too. This is fixed now. It will be in the next update. Now, when you press the button a second time the div, which had gotten hidden after the first report was printed, now gets shown again.

  6. #6
    "Certified" Alphaholic
    Real Name
    Frank Bicknell
    Join Date
    Feb 2010
    Location
    39.1915° N, 84.4348° W
    Posts
    2,467

    Default Re: Working msg in div using Xbasic target in Action Javascript to open a report

    I was just about to say that but Selwyn beat me to it

    WOW a hero... Hey can someone from Great Britain get me Knighted too?
    Win 10 64 Development, Win 7 64 WAS 11-1, 2, Win 10 64 AA-1,2, MySql, dbForge Studio The Best MySQL GUI Tool IMHO. http://www.devart.com/dbforge/mysql/studio/

Similar Threads

  1. Replies: 3
    Last Post: 08-14-2011, 01:22 PM
  2. setting argument values on Action Javascript - Open a webpage
    By workaholic06 in forum Application Server Version 10 - Web/Browser Applications
    Replies: 2
    Last Post: 07-21-2010, 02:41 PM
  3. Placing Grid in DIV from Button with Action Javascript
    By StephenP in forum Application Server Version 10 - Web/Browser Applications
    Replies: 5
    Last Post: 03-23-2010, 07:46 PM
  4. Action Javascript Report Error
    By marvinbase in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 02-18-2010, 11:06 AM
  5. Control Option not working on Form Open with Action Scripting
    By spain246 in forum Alpha Five Version 6
    Replies: 2
    Last Post: 01-09-2006, 12:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •