Alpha Video Training
Results 1 to 3 of 3

Thread: Reading a value from an edit box on a control bar

  1. #1
    "Certified" Alphaholic Lance Gurd's Avatar
    Real Name
    Lance Gurd
    Join Date
    Jun 2005
    Location
    Southampton, UK
    Posts
    1,411

    Default Reading a value from an edit box on a control bar

    Does anybody know a way of getting a value of an edit box on a controlbar and using it in an ajax callback? I can get a pointer to the editbox and read the value in javascript but cannot find a way to do this in xbasic.

  2. #2
    Member jgrannis's Avatar
    Real Name
    Jeff Grannis
    Join Date
    Apr 2016
    Location
    New Iberia, LA
    Posts
    333

    Default Re: Reading a value from an edit box on a control bar

    Interesting...
    Maybe it is submitted somewhere when submitting the dialog but I can't find it.
    Perhaps you need to add it to the state info, using {dialog.object}.setStateInfo Method, via a ControlBar action that is called on the edit item's "Done" event.

  3. #3
    "Certified" Alphaholic Lance Gurd's Avatar
    Real Name
    Lance Gurd
    Join Date
    Jun 2005
    Location
    Southampton, UK
    Posts
    1,411

    Default Re: Reading a value from an edit box on a control bar

    Thanks for looking Jeff, that's what I was trying to do but couldn't get it to work.

    T then explored the e._currentRowDataNew object and it was there so I can access it via e.dataSubmitted.name of data object just as you would any other data on a normal UX. Win win!

Similar Threads

  1. New EDIT COMBO BOX CONTROL
    By stewx in forum Mobile & Browser Applications
    Replies: 1
    Last Post: 07-27-2014, 10:12 PM
  2. Edit multiple records in list control
    By rjackson@arach.net.au in forum Mobile & Browser Applications
    Replies: 1
    Last Post: 11-24-2013, 10:12 PM
  3. Pop-up window to edit data in a control
    By WebChew in forum Application Server Version 11 - Web/Browser Applications
    Replies: 0
    Last Post: 06-21-2013, 04:15 PM
  4. Edit - Change Control Panel
    By forskare in forum Alpha Five Version 10 - Desktop Applications
    Replies: 5
    Last Post: 03-20-2010, 07:07 PM
  5. WAS RTF EDit Control
    By Dermot in forum Archived Wishlist
    Replies: 0
    Last Post: 11-20-2005, 10:25 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
  •