Alpha Video Training
Results 1 to 2 of 2

Thread: Server event for child grid in grid linker page

  1. #1
    "Certified" Alphaholic
    Real Name
    Peter Wayne
    Join Date
    Apr 2000
    Posts
    1,728

    Default Server event for child grid in grid linker page

    Hello. Is there any way to program a server-side event for the child table/form in a grid-linker web page?
    For dialog components, I know there is an AfterValidate event specified. I am looking for an equivalent for the child grid in a gridlinker web page. I can set the target page for the component but I can't pass variables to the target this way. I want to pass variables from the form to the target every time the "Submit" button is pressed on the child grid.
    An example would be an invoice header-invoice items form, in which the invoice header's total balance is updated automatically every time an item is added to the child grid. The example in the samples does not do that (there is a total for the child grid, but no action taken on the parent table.)
    Thanks for any suggestions.
    - Peter

  2. #2
    Former Alpha Employee JerryBrightbill's Avatar
    Real Name
    Jerry Brightbill
    Join Date
    Apr 2000
    Posts
    5,171

    Default RE: Server event for child grid in grid linker pag

    Peter

    I don't think server side scripting is active for grid components. However, you can use a link field to open another target page and pass variables in the url. I have a couple grids that work as lookups and actually pass a calculated field value as part of the url. You can even set the link to reopen the same page. In effect, that is what happens for a search component. You might also be able to test for the submit button being pushed in a5 code on the page that holds the component and then react to that.

    Jerry

Similar Threads

  1. Filter in Tabbed grid linker
    By Pat Bremkamp in forum Web Application Server v6
    Replies: 6
    Last Post: 09-02-2005, 10:43 PM
  2. Updating parent grid after changing child grid
    By Howard G. Cornett in forum Web Application Server v6
    Replies: 3
    Last Post: 08-30-2005, 03:09 AM
  3. Grid Linker
    By David Henderson in forum Web Application Server v6
    Replies: 3
    Last Post: 05-16-2005, 12:13 PM
  4. Problems with the grid linker
    By tojo in forum Web Application Server v6
    Replies: 0
    Last Post: 03-21-2005, 10:28 AM
  5. New Record in Grid Linker
    By davidv43 in forum Web Application Server v6
    Replies: 1
    Last Post: 08-22-2004, 01:09 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
  •