Spry & Developer Toolkit - Pagre Refresh ;-(

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default Spry & Developer Toolkit - Pagre Refresh ;-(

    In .asp (old I know!), I am using a Devleopers Toolkit Dynamic Form witin a
    Spry Tab (displayed within a DIV)... When the form is submitted, the database
    is updated - but how do I get the Triggers to run the javascript to refresh the
    DIV (I have the code for this - but it's not running as a Trigger). I also
    need to stop the page refreshing the entire page... In the previous version of
    InterAKT you could simply remove the response.redirect lines and bingo... but
    now it's not that simple....

    Simply removing the "upd_Events.registerTrigger Array("END",
    "Trigger_Default_Redirect", 99, "">" line does not seem to have any affect.

    I have set the last Trigger to:
    upd_Events.registerTrigger Array("END", "Trigger_Reload_Ajax", 99)

    and the function I call is:
    <%
    'start Trigger_Reload_Ajax trigger
    Function Trigger_Reload_Ajax (ByRef tNG)
    %>
    <script type="text/javascript">
    <!-- alert('Hello World!'); -->
    Spry.Utils.updateContent('SubContent',
    '/management/setup/event/setup_frame.asp?EventID=8');
    stop();
    </script>
    <%
    Set Trigger_Reload_Ajax = nothing
    End Function
    'end Trigger_Reload_Ajax trigger
    %>

    Ideally I would like to force the redirect to stop!

    Any help - much appreaciated

    Dom

    doms1973 Guest

  2. Similar Questions and Discussions

    1. Developer Toolkit -- extend login period
      Hi, I need to extend the login period for my site so that folks can leave their computers and return to finish their work without timing out...
    2. Dreamweaver Developer Toolkit
      I am more of a web designer than a developer and have 2 questions to get started using the developer toolkit for dreamweaver: Does anyone know of...
    3. Kollection problems with Developer Toolkit
      Last year Adobe took over Interakt and Adobe replaced their extensions with Kollection that included KTML and CSS Menus. Many of us have used these...
    4. looking for a pdf converter developer toolkit for asp.net
      hi im needing to convert my office documents (word, excel, powepoint, visio) to pdf on the web. Can anyone suggest any good tools they have used....
    5. Problem with refresh button breaking automatic refresh
      As a public service, I'm posting the solution to a problem I had. The bizarre thing is that I think this should have created an error. Instead, it...
  3. #2

    Default Re: Spry & Developer Toolkit - Pagre Refresh ;-(

    doms1973 wrote:
    > In .asp (old I know!), I am using a Devleopers Toolkit Dynamic Form witin a
    > Spry Tab (displayed within a DIV)... When the form is submitted, the database
    > is updated - but how do I get the Triggers to run the javascript to refresh the
    > DIV (I have the code for this - but it's not running as a Trigger). I also
    > need to stop the page refreshing the entire page... In the previous version of
    > InterAKT you could simply remove the response.redirect lines and bingo... but
    > now it's not that simple....
    No idea how ADDT handles Ajax driven content, but I'd suggest that you ask your question in the ADDT forums:
    [url]http://www.adobeforums.com/cgi-bin/webx/.3bc3909a/[/url]



    --
    Danilo Celic
    | [url]http://blog.extensioneering.com/[/url]
    | Adobe Community Expert
    danilocelic AdobeCommunityExpert Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139