Cancel Dialog - Error
Posted by stieland - Jun 14 ’13 at 02:39
I have modified a couple of forms using Forms Designer in SharePoint 2013. Very basic with no javascript and only css is to hide the ribbon. I have set the forms to appear in dialogs.
Everything works fine when I click save, but if I click cancel, I always get two errors. Display form does not have an error when I click Close, just new and edit forms.
Generic error of
'Sys' is undefined
Here is the detail that I see in the debugger.
Sys.Net.WebServiceError.registerClass("Sys.Net.WebServiceError");
Type.registerNamespace('Sys');Sys.Res={"argumentInteger":"Value must be an integer.","invokeCalledTwice":"Cannot call invoke more than once.","webServiceFailed":"The server method \u0027{0}\u0027 failed with the following error: {1}","argumentType":"Object cannot be converted to the required type.","argumentNull":"Value cannot be null.","scriptAlreadyLoaded":"The script \u0027{0}\u0027 has been referenced multiple times. If referencing Microsoft AJAX scripts explicitly, set the MicrosoftAjaxMode property of the ScriptManager to Explicit.","scriptDependencyNotFound":"The script \u0027{0}\u0027 failed to load because it is dependent on script \u0027{1}\u0027.","formatBadFormatSpecifier":"Format specifier was invalid.","requiredScriptReferenceNotIncluded":"\u0027{0}\u0027 requires that you have included a script reference to \u0027{1}\u0027.","webServiceFailedNoMsg":"The server method \u0027{0}\u0027 failed.","argumentDomElement":"Value must be a DOM element.","invalidExecutorType":"Could not create a valid Sys.Net.WebRequestExecutor from: {0}.","cannotCallBeforeResponse":"Cannot call {0} when responseAvailable is false.","actualValue":"Actual value was {0}.","enumInvalidValue":"\u0027{0}\u0027 is not a valid value for enum {1}.","scriptLoadFailed":"The script \u0027{0}\u0027 could not be loaded.","parameterCount":"Parameter count mismatch.","cannotDeserializeEmptyString":"Cannot deserialize empty string.","formatInvalidString":"Input string was not in a correct format.","invalidTimeout":"Value must be greater than or equal to zero.","cannotAbortBeforeStart":"Cannot abort when executor has not started.","argument":"Value does not fall within the expected range.","cannotDeserializeInvalidJson":"Cannot deserialize. The data does not correspond to valid JSON.","invalidHttpVerb":"httpVerb cannot be set to an empty or null string.","nullWebRequest":"Cannot call executeRequest with a null webRequest.","eventHandlerInvalid":"Handler was not added through the Sys.UI.DomEvent.addHandler method.","cannotSerializeNonFiniteNumbers":"Cannot serialize non finite numbers.","argumentUndefined":"Value cannot be undefined.","webServiceInvalidReturnType":"The server method \u0027{0}\u0027 returned an invalid type. Expected type: {1}","servicePathNotSet":"The path to the web service has not been set.","argumentTypeWithTypes":"Object of type \u0027{0}\u0027 cannot be converted to type \u0027{1}\u0027.","cannotCallOnceStarted":"Cannot call {0} once started.","badBaseUrl1":"Base URL does not contain ://.","badBaseUrl2":"Base URL does not contain another /.","badBaseUrl3":"Cannot find last / in base URL.","setExecutorAfterActive":"Cannot set executor after it has become active.","paramName":"Parameter name: {0}","nullReferenceInPath":"Null reference while evaluating data path: \u0027{0}\u0027.","cannotCallOutsideHandler":"Cannot call {0} outside of a completed event handler.","cannotSerializeObjectWithCycle":"Cannot serialize object with cyclic reference within child properties.","format":"One of the identified items was in an invalid format.","assertFailedCaller":"Assertion Failed: {0}\r\nat {1}","argumentOutOfRange":"Specified argument was out of the range of valid values.","webServiceTimedOut":"The server method \u0027{0}\u0027 timed out.","notImplemented":"The method or operation is not implemented.","assertFailed":"Assertion Failed: {0}","invalidOperation":"Operation is not valid due to the current state of the object.","breakIntoDebugger":"{0}\r\n\r\nBreak into debugger?"};
-
DmitryAdminMember for: 10 years 11 months 19 days
It's a known issue, which is reproduced with default SharePoint forms:
http://social.msdn.microsoft.com/Forums/en-US/sharepointgeneral/thread/fd0d1e47-d864-4381-ba81-bd3964a3f96aDo you have latest CU installed on your farm?
http://technet.microsoft.com/en-us/sharepoint/jj891062.aspx -
zxclordMemberMember for: 1 year 10 months 18 days
ty for post
-
zxclordMemberMember for: 1 year 10 months 18 days
ty for post
-
zxclordMemberMember for: 1 year 10 months 18 days
缩写美国代写不要带I、YOU、WE等主观词,还有s的缩写,就是不能、不应该等等,这个也不应该带,不能缩写,不要用question mark、感叹号。标点符号您也要注意美国论文中的标点符号,比如标点符号(,)。在美国,您用逗号(,)代替标点符号。如果停顿太多,需要用分号(;)美国不使用书名,而是用斜体表示书名。不要用太简单,但又太复杂的词,用错词类。不要在整篇文章中多次出现同一个单词,而是改变同义词,例如,尽量不要使用like、make、good等,并把它变成享受、快乐、使能、创造、伟大、完美等。每段开头的第一个字的字母必须大写,文章中每个句号后面的第一个字的字母必须大写。
-
paul4422MemberMember for: 1 year 10 months 29 days
web application development In this blog, you will walk through the web development backend frameworks. We at Objectual system limited provide astonishing services mainly in the domains of web & mobile app development, CMS, and Cybersecurity
-
paul4422MemberMember for: 1 year 10 months 29 days
ids/ips With our proactive IDS/IPS measures, your team can save considerable time and resources in meeting its compliance reporting requirements, particularly if your business is subject to more than one regulation.
-
paul4422MemberMember for: 1 year 10 months 29 days
shopify mobile app development We have a highly trained team of experts to help you identify the gaps of your online marketing campaigns.
-
paul4422MemberMember for: 1 year 10 months 29 days
time tracking tool Many things can be done, and one of the most important is time management. To accomplish the latter, setting deadlines in time management is vital
-
KatedavisMemberMember for: 1 year 8 months 28 days
I decided to write my essay review to help other students find a good writing service. My essay was good but still required numerous revisions. Make sure you have enough time for extra revisions when placing the order.
-
itsmonikaMemberMember for: 1 year 8 months 25 days
Did you check that the connectivity string is working properly? Sometimes disconnectivity occurs in the connectivity string which allows us from accessing the database but with errors. Masters Dissertation Help