Dear friends,
On the click of a button,I submit data to multiple tables in database using webservice.Then an alert is displayed.On clicking OK button,the form is submitted to the SharePoint library and finally it closes.
But the problem is that as soon as the form closes,the "Fill out a Form" window opens displaying the various form categories namely "Recently used forms,All forms,Favorites and so on.This window automatically opens.
But I need to suppress this window.
the code I write is
string PRTrackingNumber=thisXDocument.DOM.selectSingleNode("/my:PR_Form/my:PRTrackingNumber").nodeTypedValue.ToString();
thisXDocument.UI.Alert(PRTrackingNumber+" is the Procurement Request Tracking Number.You can use it to cancel your request.");
//Finally Submit the Form to SharePoint Form Library
DAVAdapter oSharePoint = (DAVAdapter)thisXDocument.DataAdapters["Submit"];
oSharePoint.Submit();
//Close
thisApplication.XDocuments.Close(thisXDocument);
Any help??
Regards,
Abhishek