Server side event not fire from jquery

Server side event not fire from jquery

this is an asp.net-c# application.
 
function bundAnchorClick () {  
       
//alert("bundAnchorClick called..");  
        $
( "a[id*=anchor1]" ). click ( function () {  
            $
. fx . speeds . _default = 1000 ;  
            $
( "#div1" ). children (). hide ();  
            $
( "input[id$='btn']" ). click ();  
            $
( "#div1" ). dialog ({  
                show
: "fold" ,  
                hide
: { effect : "clip" , pieces : 60 , duration : '1000' , autoOpen : false },  
                modal
: true ,  
                resizable
: false ,  
                height
: 400 ,  
                width
: 650 ,  
                title
: "View"  
           
});  
            $
( "#div1" ). block ({ message : '<h1><img src="busy.gif" /> Just a moment...</h1>' });  
           
return true ;  
       
});  
   
}  
   
function closeLoading () {  
        $
( '#div1' ). unblock ();  
   
}  
   
function showGrid () {  
        closeLoading
();  
        $
( "#div1" ). children (). show ();  
   
}  
 
    $

( "input[id$='btn']" ). click ( function () {  
       
return true ;  
   
});
 

public static System.Collections.Generic.List<T> CreateList<T>(params T[] elements) { return new System.Collections.Generic.List<T>(elements); }

        protected void btn_Click(object sender, EventArgs e)

        {

           

            var obj = new { Ministry = "Ministry 0", Title = "Title 0", Criteria = "Criteria 0" };

            var objList = CreateList(obj);

            objList.Add(new { Ministry = "Minis try 1", Title = "Title 1", Criteria = "Criteria 1" });

            objList.Add(new { Ministry = "Mi nis try sfd 2", Title = "Title 2", Criteria = "Criteria 2" });

            objList.Add(new { Ministry = "Minis try fdsf sdf 3", Title = "Title 3", Criteria = "Criteria 3" });

            objList.Add(new { Ministry = "Mini stryd dd 4", Title = "Title 4", Criteria = "Criteria 4" });

            objList.Add(new { Ministry = "Min is tryf 5", Title = "Title 5", Criteria = "Criteria 5" });

            objList.Add(new { Ministry = "Mini stry 6", Title = "Title 6", Criteria = "Criteria 6" });

            gvLoad.DataSource = objList;

            gvLoad.DataBind();

            ScriptManager.RegisterStartupScript(gvLoad, typeof(GridView), "k", "showGrid();bundAnchorClick();", true);

           

        }

 

is my code.

Here what i did is, when i click on anchor button then it has to call another button click event from there bind some data to the Gridview then

show this into a Dialog.

The first time its works perfectly. When i click on the second time the jquery event has executed but its not hit the server side btn_Click event.

Experts please tell me what is the problem and how to resolve it. (I used updatepanel in my page)?