wwHoverPanel Page Callbacks


Home | Reset Page

Page generated at: 10/14/2008 8:56:32 AM
This simple example demonstrates how to specify content from an external url and load it into a static HTML panel which in effect updates the current page. This can all be done throught the HoverPanel's properties plus one line of JavaScript to initiate the dynamic callback to retrieve the data.
Select an invoice:




This example sets all properties via the control's properties on the server side but you can also drive the control from the client side. Bascially you specify EventHandlerMode="ShowHtmlInPanel" and a base (or complete) ServerUrl that you would like to hit to retrieve content.

The client code here is hooked to the onchange even of the DropDownList and it simply starts the callback:

InvoiceDetailPanel.startCallback(event,'id=' + document.getElementById('lstInvoices').value);"