Alpha DevCon 2018
Results 1 to 3 of 3

Thread: Refresh an Image Control in a Dialog Component

  1. #1
    Member
    Real Name
    Miles Strickland
    Join Date
    Aug 2007
    Location
    Central Florida
    Posts
    72

    Default Refresh an Image Control in a Dialog Component

    Please help me with something that seems elementary, but can't get it to work. I am successfully uploading an image to an image reference field and displaying in a dialog component. The image comes in rotated 90 degrees counterclockwise. I've successfully implemented a button to rotate the image using the a5_runImageMagicCommand(filein, filein, "-rotate 90") command. However, I'm trying (unsuccessfully) to refresh the image control without refreshing the page, using the following javascript code:

    var 1Obj = {dialog.Object}.getControl('myimage');
    1Obj.refresh();

    This doesn't work, and it's the only thing I can find on the message board. Can anyone give me some guidance?

    Thanks

  2. #2
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,051

    Default Re: Refresh an Image Control in a Dialog Component

    Have you wandered into the Desktop area unintentionally?
    There can be only one.

  3. #3
    Member
    Real Name
    Miles Strickland
    Join Date
    Aug 2007
    Location
    Central Florida
    Posts
    72

    Default Re: Refresh an Image Control in a Dialog Component

    Yes I have. My apologies.

Similar Threads

  1. How to refresh an Iframe within a dialog component. Please help!
    By jcarrallo in forum Application Server Version 11 - Web/Browser Applications
    Replies: 2
    Last Post: 05-13-2013, 03:13 AM
  2. Dialog: Refresh dialog control using javascript.
    By dionmccormick in forum Application Server Version 11 - Web/Browser Applications
    Replies: 0
    Last Post: 05-08-2012, 08:22 PM
  3. How to replace an image image in dialog component ?
    By satyanarayana in forum Application Server Version 11 - Web/Browser Applications
    Replies: 0
    Last Post: 01-14-2012, 07:22 AM
  4. Dialog control refresh
    By Chandra in forum Alpha Five Version 11 - Desktop Applications
    Replies: 3
    Last Post: 12-14-2011, 11:29 AM
  5. refresh dialog component with javascript
    By Jay Talbott in forum Application Server Version 10 - Web/Browser Applications
    Replies: 0
    Last Post: 07-22-2010, 11:32 AM

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
  •