I am working on a sytem that requires logging of a user's actions. I need to be able to make an ajax call that will post a value into my audit table. What is the best approach for this?
I am using a TreeView and I have set the OnClientNodeClicked code to this:
I have tried using the AjaxRequest and AjaxRequestWithTarget functions but that does not seem to be the solution thus far.
I cannot post my project as it is rather large and has quite a few dependencies.
TIA
Seth
I am using a TreeView and I have set the OnClientNodeClicked code to this:
| function AfterClientClickHandler(treeView, args) |
| { |
| var oNode = args.get_node(); |
| var attributes = oNode.get_attributes(); |
| if (attributes.getAttribute("Level") == "Item") |
| { |
| bIndexGridPop = false; |
| bAssociatedGridPop = false; |
| bAuditGridPop = false; |
| ViewSelectedItem(attributes); |
| myViewer.OpenUrl(attributes.getAttribute("ItemPath")); |
| myThumb.OpenUrl(attributes.getAttribute("ItemPath")); |
| iCurrentPage = -1; |
| } |
| else |
| { |
| } |
| } |
I have tried using the AjaxRequest and AjaxRequestWithTarget functions but that does not seem to be the solution thus far.
I cannot post my project as it is rather large and has quite a few dependencies.
TIA
Seth
