Problem description:
1. OK button gets grey:
In Sharepoint 2003, when you try to add the new site link to the “Sites beheren” list, the button turns grey and the page seems fozen due to an automatic security update.
In the official page to fix this problem does not mention a solution: http://support.microsoft.com/kb/934229
2. OK button fixed, but Metadata lost
Some blogs suggest changing the OK button, and I used that non supported fix.
The following fix:
<input type="button" value=" OK " onclick="document.forms[0].submit()" />
Meanwhile it was noticed that the data filled in some fields (pop ups and URL field types) is not saved when they create a new site or add a new site link.
Solution:
1. Open the following file with text editor:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\[LCID]\SPSSITES\LISTS\SITESLST\NewForm.aspx
[LCID] - Sharepoint language pack that is beeing used
2. In the following code fragment comment the SPSWC:InputFormButtonAtBottom and add on top the code in red just like below:
<SPSWC:InputFormButtonSection runat="server">
<!-- Workaround for WIN2003SP2 issue: http://support.microsoft.com/kb/934229 -->
<!-- NEW FIX: bd TT -->
<input type="submit" name="ButtonOk" value=" OK " onclick="ValidateNewForm();if (typeof (Page_ClientValidate) == 'function') Page_ClientValidate(); document.forms[0].submit();" language="javascript" id="ButtonOk" DisableOnPost="true" />
<!-- <SPSWC:InputFormButtonAtBottom ID="ButtonOk" runat="server" TextLocId="Page_OkButton_Text"/> -->
<!-- End workaround -->
<SPSWC:InputFormButtonAtBottom ID="ButtonCancel" runat="server" TextLocId="Page_CancelButton_Text" visible="false" />
</SPSWC:InputFormButtonSection>
1. OK button gets grey:
In Sharepoint 2003, when you try to add the new site link to the “Sites beheren” list, the button turns grey and the page seems fozen due to an automatic security update.
In the official page to fix this problem does not mention a solution: http://support.microsoft.com/kb/934229
2. OK button fixed, but Metadata lost
Some blogs suggest changing the OK button, and I used that non supported fix.
The following fix:
<input type="button" value=" OK " onclick="document.forms[0].submit()" />
Meanwhile it was noticed that the data filled in some fields (pop ups and URL field types) is not saved when they create a new site or add a new site link.
Solution:
1. Open the following file with text editor:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\[LCID]\SPSSITES\LISTS\SITESLST\NewForm.aspx
[LCID] - Sharepoint language pack that is beeing used
2. In the following code fragment comment the SPSWC:InputFormButtonAtBottom and add on top the code in red just like below:
<SPSWC:InputFormButtonSection runat="server">
<!-- Workaround for WIN2003SP2 issue: http://support.microsoft.com/kb/934229 -->
<!-- NEW FIX: bd TT -->
<input type="submit" name="ButtonOk" value=" OK " onclick="ValidateNewForm();if (typeof (Page_ClientValidate) == 'function') Page_ClientValidate(); document.forms[0].submit();" language="javascript" id="ButtonOk" DisableOnPost="true" />
<!-- <SPSWC:InputFormButtonAtBottom ID="ButtonOk" runat="server" TextLocId="Page_OkButton_Text"/> -->
<!-- End workaround -->
<SPSWC:InputFormButtonAtBottom ID="ButtonCancel" runat="server" TextLocId="Page_CancelButton_Text" visible="false" />
</SPSWC:InputFormButtonSection>
No comments:
Post a Comment