Sending the xmldocument as string

Developer
Oct 22, 2009 at 9:25 AM

Is it posible that insted of giving the control the link to the xmldocumet we can just give it a string with the xml document.

Coordinator
Oct 23, 2009 at 12:52 AM

No, but this is not something hard to do. Add an issue for me. Thanks.

Developer
Oct 26, 2009 at 1:34 PM

You were right it wasn't hard.

Coordinator
Oct 30, 2009 at 6:36 PM

This is resolved. You can look at the code to check how it is done, but briefly, from silverlight form you have to call something like:

 
            timeline.ResetEvents(XDocument.Parse(Resource.Monet));
 

Developer
Nov 3, 2009 at 5:34 AM

OK. I've tried this, but to my understanding you can't call the ResetEvents at FormLoad, you need to load the timeline from xml first, then you can call ResetEvents().

I was thinking more of something like you can load the form from string at startup and have no need for xmlFiles.

Coordinator
Nov 3, 2009 at 7:28 PM

It should be possible just to ignore Urls parameter and then later (on say button click) load data using ResetEvents. I did not test this scenario, but you can try and let me know if any problem.

 

Nov 15, 2009 at 8:43 AM

Its a nice control but I yet have to run it properly. Its pretty buggy right now. I'll be visiting often for updates.

Coordinator
Nov 17, 2009 at 3:22 PM

If you found problems please submit bug in issue tracker section, I will be resolving them as they appear.