update panel inside jquery dialog div not wokring
<p>that's my code : </p>

<pre><code> &lt;div id="AddFriendDiv" style="display: none"&gt;
        &lt;asp:TextBox ID="FriendParamtxt" runat="server"&gt;&lt;/asp:TextBox&gt;
        &lt;asp:UpdatePanel ID="upd" runat="server"&gt;
        &lt;Triggers&gt;
        &lt;asp:AsyncPostBackTrigger ControlID="SearchFriend_btn" EventName="Click" /&gt;
        &lt;/Triggers&gt;
          &lt;ContentTemplate&gt;
                &lt;asp:Button ID="SearchFriend_btn" runat="server" OnClick="SearchFriend_btn_Click" Value="Search" /&gt;
                &lt;asp:Repeater ID="FriendRequestRepeater" runat="server"&gt;
                    &lt;ItemTemplate&gt;
                        &lt;table border="1"&gt;
                            &lt;tr&gt;
                                &lt;td&gt;
                                    &lt;img src='&lt;%#Eval("PROFILE_PIC") %&gt;' width="35px" height="35px" alt='&lt;%#Eval("NAME") %&gt;' /&gt;
                                &lt;/td&gt;
                                &lt;td&gt;
                                    &lt;asp:Label ID="Name_lbl" runat="server" Text='&lt;%#Eval("NAME") %&gt;'&gt;&lt;/asp:Label&gt;
                                &lt;/td&gt;
                                &lt;td&gt;
                                    &lt;input type="hidden" id="requestFriendID_hf" /&gt;&lt;input type="button" id="addFreind"
                                        value="Send Request" /&gt;
                                &lt;/td&gt;
                            &lt;/tr&gt;
                        &lt;/table&gt;
                    &lt;/ItemTemplate&gt;
                &lt;/asp:Repeater&gt;
            &lt;/ContentTemplate&gt;
        &lt;/asp:UpdatePanel&gt;
    &lt;/div&gt;
</code></pre>

<p>client side :</p>

<pre><code> function SendFriendRequest() {

        var dialogOption = { title: "&lt;u&gt;Add Friend&lt;/u&gt;", width: 280, height: 140, modal: false, resizable: false, draggable: true,
            maxHeight: 340, autoOpen: true, closeOnEscape: true
        };
        var DialogExtendOptions = { "close": true, "maximize": false, "minimize": true, "dblclick": 'minimize', "titlebar": 'transparent' };

        $("#AddFriendDiv").dialog(dialogOption).dialogExtend(DialogExtendOptions);
       $("#AddFriendDiv").show();


    }
</code></pre>

<p>server side :</p>

<pre><code>protected void SearchFriend_btn_Click(object sender, EventArgs e)
{

   DataTable frdrequest= new DataTable();
    int clientID =int.Parse( UserID.Value.ToString());
    if (FriendParamtxt.Text != "")
    {
        frdrequest = SQLHelper.GetAllClientByParam(FriendParamtxt.Text, clientID);
      if (frdrequest.Rows.Count &gt; 0)
      {
          FriendRequestRepeater.DataSource = frdrequest;
          FriendRequestRepeater.DataBind();
      }
    }
}
</code></pre>

<p>SendFriendRequest is beeing called form an a tag outside but the problem is that the button click event isn't firing when the main div is a dialog but when i changed it to normal div it work fine anyone know  a solution for this ?</p>
