Ok
Visual Studio 2015 web.forms site uses jquery to work properly with bootstrap, I have version 3.1.0, I cannot remove it
I disabled all jquery loads, and I only left 3.1.0 at the begging, still I got the error:
SCRIPT438: Object doesn't support property or method 'selectmenu'
jquery.ForumExtensions.min.js (52,12296)
SCRIPT5007: Unable to get property 'settings' of undefined or null reference
forum (592,58)
SCRIPT438: Object doesn't support property or method 'PageMethod'
forum (291,9)
NOTICE that the error is in
jquery.ForumExtensions.min.jsAnd
Forum.aspx is a webpage that I have in the /forum folder to run the forum control
<%@ Page Title="<%$ Resources:Recursos, SiteMaster_Foro %>"
Language="C#" MasterPageFile="~/Site.Master"
AutoEventWireup="true" CodeBehind="Forum.aspx.cs"
Inherits="CMS_WebSite.Forum"
MaintainScrollPositionOnPostback="true"
Culture="auto"
UICulture="auto" %>
<%@ MasterType VirtualPath="~/Site.master" %>
<%@ Register TagPrefix="YAF" Assembly="YAF" Namespace="YAF" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<YAF:Forum runat="server" ID="forum" BoardID="1" />
</asp:Content>
What I did is I went installing all versions of jquery down to 1.9.0, (the older you suggested) and got same result.
I left it with version 2.2.3 (same as in forum) for you to see it please
I think the error must be in the scripts from the forum from YAF-v2.2.3.0-Install.zip installation file.
The code that you want me to remove:
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.1.0.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
(window.jQuery)||document.write('<script type="text/javascript" src="../Scripts/jquery-3.1.0.js"><\/script>');//]]>
</script>
is loaded by the forum control so I cannot remove it, only by removing
, then it loads
<script src="../Scripts/jquery-2.2.3.js" type="text/javascript"></script>
Edited by user
6 years ago
|
Reason: Not specified