Aug 15, 2012, 9:40 AM
[CLOSED] Portlet Close Handler
Hello,
I want to read/write db when i close portlet
when i running, Cause the page is blank...
i create portal,PortalColumn,portlet in code-behide, what is my problem?
...
...
I want to read/write db when i close portlet
when i running, Cause the page is blank...
i create portal,PortalColumn,portlet in code-behide, what is my problem?
...
...
Portlet p = new Portlet()
{
ID=title,
Title = title,
Height = 200,
};
//↓ i'm using wrong?
p.Listeners.Close.Handler = "function() {#{DirectMethods}.ClosePortlet(e.panel.id, e.columnIndex, e.position);}";
--------------------------------------[DirectMethod(ShowMask = true)]
public void ClosePortlet(String id, int col_index, int position)
{
//DO DB READ/WRITE
}
Last edited by Daniil; Aug 18, 2012 at 9:36 AM.
Reason: Please use [CODE] tags, [CLOSED]