For testing for completion.. isn't ther an afterload event in loadpanel (I
could be very wrong)
As for encoding the string,
You first need to ensure that the string is URL safe (so netscape doesn't
return 'the format is incorrect')
in VB script you do that with: encodedstring =
server.urlencode(unencodedstring)
in Javascript it's
encodedstring = escape(unencodedstring)
and
unencodedstring = unescape(encodedstring)
as for a format..
I would use recipient,html|recipient,html|recipient,html|recipient,html
or some such
----- Original Message -----
From: "Frederick Samson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 6:11 AM
Subject: [Dynapi-Help] LoadPanel as a messenger
> Hi all! Congragulations for the DynAPI2 product and it's appearance on
> ZDNet.
>
> I want to create a proof of concept that gives the possibility to refresh
> only parts of a DHTML page after some user input. Exemple : the user makes
> some choices with input controls and click a button. An HTTP Get request
is
> sent using a single [invisible] LoadPanel (the messenger) and an ASP
script
> return the result. That result may contain HTML for many DynLayers so each
> result specify it's recipient. The LoadPanel subclass (the messenger)
> interpret the result and distribute the results. After it may process with
> the next query.
>
> My questions are :
>
> 1- After a call to setURL on the LoadPanel, how can I be notified when the
> result has been received? I could then use getHTML, interpret it and
> distribute the result BEFORE the LoadPanel send the next query.
>
> 2- Any suggestion on how I could encode the pairs of {Recipient, HTML}. It
> should be easy and fast to parse. Would it be a good idea to return many
> forms with one TextBox (Recipient : DynLayer name) and one TextArea (HTML)
> and then iterate in the LoadPanel's document's forms?
>
> Thanks!
>
> Frederick Samson
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
---
Outgoing mail is certified Virus Free by AVG Free Edition
Download at: http://www.grisoft.com/html/us_index.cfm
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.231 / Virus Database: 112 - Release Date: 2/12/01
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help