I am extending the uCommerce Order Admin Tools. I have already created one user control and put it on a tab and it works fine but it simply displays data.
I now need a new control that will allow the Track and Trace number to be entered and saved via the standard tab save button. I have read the following article but cannot get the syntax correct (in VB) for subscribing to the Saving Event:
Subscribe to an Admin Tab "Saving" event
I am extending the uCommerce Order Admin Tools. I have already created one user control and put it on a tab and it works fine but it simply displays data.
I now need a new control that will allow the Track and Trace number to be entered and saved via the standard tab save button. I have read the following article but cannot get the syntax correct (in VB) for subscribing to the Saving Event:
http://blog.lasseeskildsen.net/?tag=/ucommerce+admin
I presently have the following but it doesn't fire the event:
I think the Saving event declared does not represent the actual Saving event being fired, but I dont know how to get reference to that event.
Thanks in advance for any help,
Thanks Simon
The event you're hooking up to is your own and thus never fired.
You want to hook up to the events found on the View property on your user control, e.g AddHandler View.Saving, myEventHandler.
Thanks Soren, that works fine now - just have an email sending issue (have put in another thread)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.