Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Dim on Feb 21, 2008 21:40
open dhtmlx forum
TreeGrid kid xml generetion in aspx

Hi!

i have some problem with your component.
i gen kid file in
mygrid.kidsXmlFile = "UserAuditeeTreeGenXML.aspx";

but loading of page finished before page_load finished that is why in the page i saw previous xml generated file not for current branch.

that is the trouble? how to solve it?

Answer posted by Support on Feb 22, 2008 02:01
Sorry, but I still not understood what problem is.

The url set by mygrid.kidsXmlFile called each time when branch loaded, it may be after main page loading or in moment when main page still in loading process ( if branch opened while main page not loaded yet ) Basically this must not cause any problems - those are different scripts, I not see how loading time can cause incorrect results.

Basically if you need to prevent kids script calls while page not fully loaded - you can move grid initialization code in onload event of page.