Hi guys,

apologies for jumping straight in with a problem ;-)

I have a load panel that I populate with both setHTML() and setURL()
depending on the circumstances.

I've just dicovered a problem where

1) I use setURL() and the panel shrinks to accommodate the content (as
advertised)
2) I use setHTML() to repopulate the shrunk panel, but it doesn't resize
(grow) to show the new content

So, what I did was add a setSize() before adding the new content, but this
kicks up an Exception. Funny thing is, it *does* actually do the resize and
then show me all of the new HTML I put in, but I still get a JavaScript
alert with the Exception message in it.

If I populate the HTML and then do the setSize(), I get the same exception
but the HTML I put in fails to display at all.

Truth be told, I don't actually need the load panel to resize at all, but I
can't find anywhere in the docs that explains how to turn this feature off
(if possible).

Has anybody seen this before, or know how to fix it?

Cheers,

sjb




_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to