My page possess two UpdatePanel with a same Trigger that look like:
<asp:AsyncPostBackTrigger ControlID="btnTest" EventName="Click" />
On server side, during the partial post-back, I call two different functions related to the two updatepanel. The first one takes less than a second but the second take 5-10 seconds.
The inconvenient is that all the render is done when everything is done.
How can I do to render the result for the first panel when it's done and don't have to wait for the second? Is it possible to relate a specific function to an updatepanel, as we can do with some AJAX code (
$.ajax({
type: "POST",
url: "GridDemo.aspx/search",
contentType: "application/json; charset=utf-8",
data: "{}",
dataType: "json"
)
Thanks all.
My environnement: VB.NET, ASP.NET, Framework .NET 4.0