Showing posts with label callback. Show all posts
Showing posts with label callback. Show all posts

Wednesday, March 28, 2012

Updateprogress panel does not disappearing

Hello:

I have a web page with updatepanel and updateprogress. In each callback, updateprogress is showed with a panel "loading".

My problem is that, if I call other web page that opens one PDF in other window, updateprogress does not disappear from the screen:

In button click I have:

Response.Redirect(

"getDocument.aspx",false); //This page does not load on same explorer. It is opened in other window

I have tried adding code at bottom of this sentence, like "UpdatePanel1.Update();" or updateprogress1.visible=false, but no way.

Any ideas?

Thanks and regards

How you are loading the response in another explorer using Response.Redirect or are you opening the window from the client side?

refer this tutorial also:

http://ajax.asp.net/docs/tutorials/ProgrammingUpdateProgress.aspx

referDisplaying Update Progress Using Client Script in the above page.This describes how to intercepte page request manager lifecycle.


Hello and thanks by responding:

I am calling a web page called Getdocument.aspx from code behind (on rowcommand of datagrid). Not from client-side.

This web page "GetDocument.aspx", generates a PDF file with Response.binaryWrite and open it in a new browser. But caller page remains or must remain active.

Regards

Wednesday, March 21, 2012

Usage of CallBack Implementation in TAB Control of AJAX

The requirement is like i have to select different selection criteria in different tabs of tab control of ajax.

i have implemented call back functionality in one tab for getting the values of gridview dynamically. in the first tab its all working fine.

but the thing is call back implementation is getting the same value from the selected row of gridview in all tabs.

So can u do the needful so that i can able to get different selected values of gridview in different tabs of tab control using call back implementation.

Hi,

Thank you for your post!

But I am afraid I cann't understand you well, would you please provide with any code or a simple repro?

Best Regards,