M
Mattia Saccotelli
How to convert this JS:
function btnShowOrderDetails::OnClick(eventObj)
{
// Show the order details for the order that this button corresponds to.
if (eventObj.Source.baseName == "Orders")
ShowOrderDetails(eventObj.Source.getAttribute("OrderID"));
}
to C# code?
May be to this?
public void btnTest_OnClick(DocActionEvent e) {
e.Source.attributes.getNamedItem("OrderID") [...]
}
??
function btnShowOrderDetails::OnClick(eventObj)
{
// Show the order details for the order that this button corresponds to.
if (eventObj.Source.baseName == "Orders")
ShowOrderDetails(eventObj.Source.getAttribute("OrderID"));
}
to C# code?
May be to this?
public void btnTest_OnClick(DocActionEvent e) {
e.Source.attributes.getNamedItem("OrderID") [...]
}
??