how to use ajax in JQuery
<p>hi i have that    works  finw    without Script manager. but if i add  script  manager  that  getting an erroe: sys  udefined.</p>

<pre><code>&lt;%@ Page Language="C#" AutoEventWireup="true" CodeFile="Block-ui-pageload.aspx.cs" Inherits="Block_ui_pageload" %&gt;

&lt;%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %&gt;

&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;



&lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
&lt;head id="Head1" runat="server"&gt;
    &lt;title&gt;&lt;/title&gt;

   &lt;script src="Scripts/jquery-1.3.2.js"type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="Scripts/jquery.blockUI.js"  type="text/javascript"&gt;&lt;/script&gt;   
&lt;/head&gt;
&lt;body&gt;
    &lt;form id="form1" runat="server"&gt;    
    &lt;div id="divConfirmBox1" &gt;      
    &lt;asp:GridView ID="gvCategories" runat="server" AutoGenerateColumns="false"&gt;   
    &lt;Columns&gt;   
    &lt;asp:TemplateField HeaderText="Category Name"&gt;   
    &lt;ItemTemplate&gt;
    &lt;asp:Label ID="lblCategoryName" runat="server" Text='&lt;%# Eval("CategoryName") %&gt;' /&gt;
    &lt;/ItemTemplate&gt;
    &lt;/asp:TemplateField&gt;   
     &lt;asp:TemplateField&gt;  
    &lt;ItemTemplate&gt;
    &lt;input type="button" value="Delete" onclick="showDeleteConfirmation('&lt;%# Eval("CategoryId") %&gt;')" /&gt;
    &lt;/ItemTemplate&gt;
    &lt;/asp:TemplateField&gt;
    &lt;/Columns&gt;   
    &lt;/asp:GridView&gt;
        &amp;nbsp;
    &lt;div id="divConfirmBox" style="display:none"&gt;
    Are you sure you want to delete this record?    
    &lt;input type="button" value="No"  /&gt;
    &lt;/div&gt;    
    &lt;/div&gt;
    &lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;

&lt;script language="javascript" type="text/javascript"&gt;

$(function() {
$('#divConfirmBox1').block({ message : $('#divConfirmBox') }); 
});

$(function() {
   $('#divConfirmBox').click(function(event){
      $('#divConfirmBox1').unblock(); 
   });
 });
&lt;/script&gt;
</code></pre>

<p>. intially during the page load . i am   blocking the screen(PAge). once the user  clicks   the  button  the  page  is  unblocked.
 is there  anythng wrong in the Syantax  whiling working with Ajax script manager</p>
