We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

CallbackPanel and Window.Status

Thread ID:

Created:

Updated:

Platform:

Replies:

64993 Jul 24,2007 04:29 PM Aug 3,2007 05:40 AM ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
James
Asked On July 24, 2007 04:29 PM

I have been attempting to refresh the window.status message after callback without any luck. Why I am trying to do, is after a grid is bound via the callbackpanel and the results are displayed, I display an updated text in the status bar. Not using the callbackpanel functionality, and just calling a procedure that does the script, works great. When adding the line of code to the vb callbackrefresh routine, or by adding it to the page_databinding routine, the page just hangs. The "Loading" indicator keeps going, but it just sits there. Is it fighting with the "Refreshing..." status message? Can this be a bug? Having the capability to update this during runtime on callback and not postback would be great.

The script would look something like this in VB....

// Response.Write("")

James
Replied On July 25, 2007 03:33 PM

Ok. The following is my workaround. Instead of setting the window.status in the vb callbackpanel1_callbackrefresh routine, I set it here in javascript. I pulled the value using the ClientSideOnValueChange event and populated a textbox that I hid, and then grabbed that data via the document.getElementById("Text1").value. I tried referencing the "dtpDate" ID, but it always said that it was undefined. Please look into a faster and easier way to accomplish this, as well as possibly being able to do it in the vb routine without hanging the system.









type="text" visible="false"/>




>I have been attempting to refresh the window.status message after callback without any luck. Why I am trying to do, is after a grid is bound via the callbackpanel and the results are displayed, I display an updated text in the status bar. Not using the callbackpanel functionality, and just calling a procedure that does the script, works great. When adding the line of code to the vb callbackrefresh routine, or by adding it to the page_databinding routine, the page just hangs. The "Loading" indicator keeps going, but it just sits there. Is it fighting with the "Refreshing..." status message? Can this be a bug? Having the capability to update this during runtime on callback and not postback would be great.

The script would look something like this in VB....

// Response.Write("")


Valli [Syncfusion]
Replied On August 1, 2007 09:18 AM

Hi James,

I apologize for the delay in getting back to you.

Attached is a sample which will help you to change the status text of the window.

http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm

In the sample I have used the 'AfterCallbackResponseProcessedScript' to change the window status.

I have placed a DropDownCalendar control inside the Callback panel. When you click the button 'Callback' the 'CallbackPanel1_CallbackRefresh' event get executed which will change the DropDownCalendar control value to Tuesday,January 01,2008. Once completing this event the 'AfterCallbackResponseProcessedScript' will be executed which will help you to change the Window status bar text to 'Refreshed Value of the DropDownCalender: 1/1/2008 12:00:00 AM'.

Please let us know if this helps you.

Regards,
Valli

Valli [Syncfusion]
Replied On August 3, 2007 05:40 AM

Hi James,

I am able to reproduce the problem specified by you.

When you open the link,

http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm

directly in our browser[IE7] you couldn't get the status text displayed at the bottom. Whereas the status text gets displayed correctly in IE6.

Could you please do the following

1. Download the folder Callback.zip in the link .

http://websamples.syncfusion.com/samples/Tools.Web/5.1.0.51/Forum-64993/main.htm

2. Unzip and run the application in your local machine and please let us know if you are able to view the status bar text in both IE6 and IE7 browsers.

Thank you for your patience.

Regards,
Valli

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;