Ajax controls in a master page ? RRS feed

  • Question

  • Hi all
    I have a custom master page that i want to add some ajax controls to it (HoverMenuExtender, confirmButtonExtender, etc...)
    I followed the steps mentioned in http://sharepoint.microsoft.com/blogs/mike/Lists/Posts/Post.aspx?ID=3
    But none of the ajax controls work and I get a javascript error:

    Message: '$common' is null or not an object

    when I replace the asp ScriptManger with <ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />

    it gave me the following error:
    Message: Sys.ArgumentUndefinedException: Value cannot be undefined.

    Do I have to install MOSS SP1 ?

    please tell me if I missed something and what can be done to solve this.

    • Edited by Mina Samy Monday, August 31, 2009 10:49 AM Update error info
    Monday, August 31, 2009 10:42 AM


  • Ok guys figure it out

    I have a javascript function that displays the current time (clock)
    this function was called on the window.load which overrides the spBodyOnLoadWrapper() function

    - Also the script manager was placed inside the head tag [sounds stupid :) ]
    thanks a lot
    • Proposed as answer by Brian Bedard Monday, August 31, 2009 11:49 AM
    • Marked as answer by Aaron Han - MSFT Tuesday, September 1, 2009 10:40 AM
    Monday, August 31, 2009 11:41 AM