Problem Description:
New, editing on the WSS is called the ClickOnce method to submit a form, if we want to make some own controls, you need to intercept ClickonCE methods.
Solution:
Add a piece of script to re-implement the original ClickonCE method before you want to intercept the body> of the page of the page to be intercepted.
Here is sample code to add a confirmation to the submission:
Var oclickonce = clickonce;
Window.onLoad = function ()
{
Clickonce = function ()
{
IF (Confirm ("Submit?")))
Oclickonce ();
}
}
script>
Detailed explanation:
You can
IF (Confirm ("Submit?")))
Change to the control code you want, for example, call a web service, use XMLHTTP to check a data ...
We can use this method to implement the rules such as submission and editing.
Revenue products:
SharePoint Portal Server