Hi,

I get Order table from SQL Server by AjaxPro on first windows.
Users click a button named "Search Order" to start this process.


When come result of query, I prepare dynamic table to show Order row.


MyNameSpace.Secure.OrderSearch.PrepareSearchQuery(objParams,
PrepareSearchQuery_Callback);


function PrepareSearchQuery_Callback(ResultValue){
        myTable = document.createElement('TABLE');
        ......
        .....
        for(var r=0; r<ResultValue.Rows.length; r++) {
                myTR = myTable.insertRow(myTable.rows.length);
                myTD = myTR.insertCell(myTR.cells.length);
                myLNK = document.createElement("a");
                myLNK.href =
"OrderDetail.aspx?OId="+objDT.Rows[r]["OrderId"];
                myLNK.target="_blank";


        }



}


To display Order Detail, User click link named myLNK. It is opening new

window.
On second window is loading long time. If user close this window(second

window) and back to fist window and again click "Search Order" button,
this time AjaxPro dont run. dont send request to server.

thereupon, I open SQL Profiler and I see that the second query is
running.


Shortly, because of second query, my first request dont run. The first
query wait for second query. But I close second windows already,


But I cant cancel second query,
How do I cancel all request before any send request to server.


I hope, I can explain my question. 


thanx


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to