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.

Diagram and CallbackPanel

Thread ID:

Created:

Updated:

Platform:

Replies:

67563 Aug 23,2007 07:24 AM Oct 12,2007 09:39 AM ASP.NET Web Forms (Classic) 5
loading
Tags: DiagramWebControl
Monica Oberholzer
Asked On August 23, 2007 07:24 AM

Hi,

I have an aspx page containing a diagram (EnableCallbacks = True) and a callback panel (containing a data grid that gets populated according to the node that is clicked in the diagram).
I have set the diagram's AfterCallbackResponseProcessedScript property to a client script function which does the call back of the callback panel (
function fnRefreshPropGrid()
{
CB1.callback(null);
}).
Everything works as it should, however, after the callback, the page has an error of "'__pendingCallbacks[...].async' is null or not an object".
I have tried putting the callback function into the AfterCallbackScript property of the web diagram. The page error mentioned above does not happen then, however, the diagram is not refreshed (i.e. the node selection is not visible, if a node was dragged to a new position, it still appears in the old position etc.).
Any suggestions would be much appreciated!

Sarathi D [Syncfusion]
Replied On August 23, 2007 08:18 PM

Hi,

Thank you for posting your query to us.

We are currently looking into this issue. I will update the status of the issue within one business day.

Sorry for the inconvenience.

Regards,
Sarathi

Monica Oberholzer
Replied On August 30, 2007 03:11 AM

Hi Sarathi - any news yet?

>Hi,

Thank you for posting your query to us.

We are currently looking into this issue. I will update the status of the issue within one business day.

Sorry for the inconvenience.

Regards,
Sarathi

Melba Winshia [Syncfusion]
Replied On September 19, 2007 09:30 AM

Hi Monica,

Thank you for your interest in Syncfusion Products.

Issue 1: ('__pendingCallbacks[...].async' is null or not an object")
---------

The issue mentioned here is suspected to be a defect and we have sent this to our development team for more analysis. We will update you once we get back from our development team.

Issue 2: (the diagram is not refreshed)
-------

I am afraid that I was not able to reproduce the issue. Please refer to the following steps that I tried to reproduce it.

1. Created a sample with AfterCallbackScript
2. But the diagram is refreshed and the nodes are dragged to new position.

Also I have created a simple sample to test this issue and it is available in the following link.

http://www.syncfusion.com/Support/user/uploads/NetworkModel_923895b.zip

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample or send us the reproducing steps so that we could sort out the cause of the issue and provide you a solution?

Thanks,
Melba




Melba Winshia [Syncfusion]
Replied On September 25, 2007 07:18 AM

Hi,

I regret for the delayed response.

The issue 'Error when the callbackpanel is refreshed in AfterCallbackResponseProcessedScript event' has been confirmed as a defect and we have logged a defect report. You can track this defect in the following link:

http://www.syncfusion.com/support/issues/diagram/Default.aspx?ToDo=view&questId=6890

To facilitate tracking the progress of the fix, and timely resolution, we request you to follow the incident #37666 in our incident database Direct Trac which has also been updated with the above information.

Kindly let me know if you have any other questions.

Thanks,
Melba

Jasper [Syncfusion]
Replied On October 12, 2007 09:39 AM

Hi Monica,

On further analysis we were able to see that the issue of _pendingCallbacks[...].async is null or not an object
is not a defect. Because there is OnResponseCompeted() function in expander.aspx page, which is called on AfterCallbackResponseProcessedScript

Wrong approach:
function OnResponseCompeted()
{ _sfCallbackPanel1.callback();
alert("Refreshed");
}

Correct approach:
function OnResponseCompeted()
{
alert("Refreshed");
}

AfterCallbackResponseProcessedScript function is raised when callback response had been come. This is the reason why another callback cannot be sent from this function (OnResponseCompeted()).

Please try this and let me know if this helps.

Regards,
Jasper

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.

;