Results 1 to 7 of 7

Thread: DD's TabContent not working in II7.

  1. #1
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD's TabContent not working in II7.

    We have used DD's TabContent for 6 years with classic asp. We upgraded our OS from Windows Server 2003 to Windows Server 2008. Now, when we run our application that uses DD's TabContent, we get an error stating that, "Ajax is not defined". We've never gotten this error before. Is there something we forgot to load on the new server that is causing this error?

    Please advise.

    Developer1

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    The server platform the script/your page is on shouldn't matter at all. The only server interaction of the script comes when it requests the tab content pages via Ajax- as long as these pages are valid and exists on the server, the script should have no problems otherwise retrieving them.

    Make sure the Tab Content script is installed properly on your page. Please post a link to the page on your site that contains the problematic script so we can check it out.
    DD Admin

  3. #3
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    DD Admin,

    Thank you for your quick response. The trouble page is in our internal dev environment.

    http://dev.wheatland.com/ecommwork/a...ect_Quote2.asp

    We don't have a problem with this page in production, which is running on Windows Server 2003.

  4. #4
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    DD Admin,

    Is there a way I can send you the source code?

    Developer 1

  5. #5
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    DD Admin,

    Here is a snippet of code that is erroring:

    </SCRIPT>
    <script src="/prototype.js" language="JavaScript" type="text/javascript"></script>
    <script type="text/javascript" language="JavaScript">
    function getQuotes(param1, param2) {
    //document.getElementById("tcontent2").innerHTML = "Loading";

    var url = 'Select_Quote.asp?';
    var params = '&Ajax=YES';

    if(param1 != "NONE")
    {
    params = param1 + params;
    }
    //alert(url + params);
    var ajax = new Ajax.Updater(param2 ,url + params, {asynchronous:true, evalScripts:true, onSuccess: getResponse, onLoading: showLoad, onFailure: reportError});
    }
    function reportError(request) {
    $('tcontent'+param2.toString()).innerHTML = "<B><FONT SIZE='-2' COLOR='#FF0000'>Error</FONT></B>";
    }
    function getResponse(request)
    {
    //alert(document.getElementById("tcontent2").innerHTML);
    //document.getElementById("tcontent2").innerHTML = request.responseText;
    }
    function showLoad () {
    //document.getElementById("tcontent2").innerHTML = "Loading";
    }
    function getDone(request)
    {
    //alert("done");
    }

    </script>

  6. #6
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    I'm a little confused- the code snippet you posted above isn't from DD Tab Content; it looks like code that uses the Prototype library...
    DD Admin

  7. #7
    Join Date
    Jul 2011
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    DD Admin,

    Here is another snippet of code with the tabcontent referenced:

    <script type="text/javascript" src="tabcontent.js">

    /***********************************************
    * Tab Content script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/

    </script>



    How can I send you the entire classic asp page? Your assistance would be greatly appreciated.

    Developer1.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •