PDA

View Full Version : [CLOSED] Sharepoint 2010 master page and ext.net resource manager



snow_cap
Feb 12, 2014, 7:08 AM
I am using Ext.Net 2.4 in a SharePoint 2010 Application page. If I add the resource manager to the application page, I got the following error:

'theForm' is undefined.

From debugger, below are the error details, note that the below is SharePoint auto code:


<script type="text/javascript">

theForm.oldSubmit = theForm.submit;

theForm.submit = WebForm_SaveScrollPositionSubmit;

theForm.oldOnSubmit = theForm.onsubmit;

theForm.onsubmit = WebForm_SaveScrollPositionOnSubmit;

Sys.Application.initialize();



Please note that SharePoint 2010 master page has a already a script manager,and the use of the master page is a must.

Daniil
Feb 12, 2014, 12:29 PM
Hi @snow_cap,

Please try to set up DisableViewState="false" for <ext:ResourceManager>. Does it help?

snow_cap
Feb 13, 2014, 8:07 AM
ok thx it worked