We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Client side events/scripting

Using GridWeb .net V4.8,

Do any client side events fire when a row is double clicked? (not a cell, but a row)? Any client side events fire when a custom button is clicked? if not, any way to trap these on a client side (other that cell OnCellUnselectedClientFunction?)

Hi,

Thanks for your inquiry.

Well, we need more time to evaluate if we can incorporate some client side events for some your desired operations. We will analyze it and get back to you soon.

Keep in touch.

Thanks for being patient!

1. For ClientClickEvent:

Code behind:

GridWeb1.CustomCommandButtons[0].ClientClickEvent = "customClick";

Script:

function customClick()

{

alert(event.srcElement["cmdvalue"]);

event.cancelBubble = true;

}

2. For OnDoubleClickRowClientFunction:

Code behind:

GridWeb1.OnDoubleClickRowClientFunction = "onDoubleClickRow";

Script:

function onDoubleClickRow(row)

{

alert(row);

}

Thank You & Best Regards,