HoverPanel.completed

Optional client script handler called when the request completes. This event is fired just before the content is assigned to the panel and the HTML value of the response is provided as a parameter.

Return false from this handler to NOT have the content displayed and no hover window to pop up. Anything else will continue to display the hoverpanel.

function ShowLineItems(event,Id)
{
    LineItemPanel.callbackHandler = CheckResult;
    LineItemPanel.startCallback(event,"id=" + Id + "&LineItemDisplay=1");
}
function HideLineItems()
{
    LineItemPanel.hide();
}
function CheckResult(result,hoverPanel)
{
    alert(result); 
    return false;    // abort display
}
o.wwHoverPanel.callbackHandler

See also:

Class West Wind Ajax Toolkit

© West Wind Technologies, 1996-2016 • Updated: 10/03/08
Comment or report problem with topic