Results 1 to 2 of 2

Thread: Issue with Dyanmic Ajax Content in SharePoint

  1. #1
    Join Date
    Aug 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Issue with Dyanmic Ajax Content in SharePoint

    1) Script Title: Dynamic Ajax Content

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    3) Describe problem:

    I am trying to load a page located in SharePoint at /Pages/test1.aspx into another page /Pages/loadtest.aspx using the ajaxpage() call. I have copied the script over and the page loads without errors but the ajaxpage() call doesn't seem to have worked.

    My code in the loadtest.aspx page looks something like this:
    Code:
         <script type="text/javascript">
    
         _spBodyOnLoadFunctionNames.push("loadtest");
    
         function loadtest()
         {  
             ajaxpage('/Pages/test1.aspx', 'rightcolumn')
         }
         </script>
    I was wondering whether someone has done this before and can provide perhaps some additional steps I might take to troubleshoot. Any advice would be helpful.

    Thanks,
    Kevin

  2. #2
    Join Date
    Aug 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This post helped me resolve my issue:

    http://forums.asp.net/t/1160491.aspx

    Thanks,
    Kevin

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
  •