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.

error in javascript CallbackControl.js

Thread ID:

Created:

Updated:

Platform:

Replies:

75525 Jul 29,2008 10:21 AM Aug 7,2008 04:11 AM ASP.NET Web Forms (Classic) 3
loading
Tags: Tools
Mr. Sascha Wald
Asked On July 29, 2008 10:21 AM

Dear syncfusioners,

we're developing an asp.net application using syncfusion EssentialStudio 6.3.0.30.
we started with version 4.x, and since 6.2 or 6.3 we detected a strange behaviour.
left handside we have a treeview with nodes-objects in it, right handside we have an updatepanel embedding a multipageview showing details of the node-object.
starting the app the first node/ root node is selected. When we then select another tab in our multipageview without selecting another node, an error occurs -
"invalid html argument" -
and it steps into a javascript-ressource at line "oEl.removeChild( oNode );".
I found out that it was the CallbackControl.js under C:\Program Files\Syncfusion\Essential Studio\[Version]\Web\Shared.Web\Src\CallbackControl\Scripts making this trouble.
And in there, it was the function 'SFCallBackControl_DestroyTree'. I compared this version with version 6.1.0.34 and found a smart difference:
6.3.0.30:
if( oNode.control && oNode.control.dispose && ( typeof(oNode.control.dispose) === "function"
6.1.0.34
if( oNode.dispose && ( typeof(oNode.dispose) === "function") )

As I had no clue what this script ist doing i simply copied the whole function from the old version into the new version, recompiled the Syncfusion.Shared.Web_2005-Project, copied the newly generated shared-web.dll into my web-project, compiled, ran, tested and --- no more errors at this point!

So, can you please try to reproduce this behaviour, repair this part and/or tell me if i made this script worse than better?

thank you

sascha





Melba Winshia [Syncfusion]
Replied On August 5, 2008 06:47 AM

Hi Sascha,

Thank you for your interest in Syncfusion Products.

I am afraid that I was not able to reproduce the issue. Also I have created a simple sample to test this issue and it is available in the following link:

http://websamples.syncfusion.com/samples/Tools.Web/6.3.0.30 /Tools_ASP_TreeView_75525/main.htm

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

Thanks,
Melba


Mr. Sascha Wald
Replied On August 6, 2008 02:37 AM

Thanks Melba,

I was not able to reproduce this behaviour in that example.
Therefore I changed the connection to another database in my app, and there also no error occured. So its a strange combination in db and javascript-result...
I will keep an eye on it, but for now I will do no further investigation.

Thank you
sascha


Rekha P [Syncfusion]
Replied On August 7, 2008 04:11 AM

Hi Sascha,

Thanks for the update.
Please let me know if you have any other concerns.

Thanks,
Rekha


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.

;