PDA

View Full Version : Silverlight in window



DeAbdy
3 Nov 2009, 12:47 AM
Hello,

I have an silverlight control object as a .xap file.
I want to load this in an window or on an panel in the window.
How do I accomplish this thread.
I'm working with the mvc framework.

Thanks,

uniring
3 Nov 2009, 4:23 AM
Just to point, 'MVC' stands for Model-View-Controller structure, that's not an specific framework, there are a lot of mvc frameworks.

I never worked with Silverlight objects but this doesn't matter, if you can put a Silverlight object on a page, you can put it in the html option of an Ext.Window (http://www.extjs.com/deploy/dev/docs/?class=Ext.Window).

For example, in flash this looks like:



new Ext.Window({
title: 'Flash Window',
html: '<object width="550" height="400"><param name="movie" value="somefilename.swf"><embed src="somefilename.swf" width="550" height="400"></embed></object>',
...
});

DeAbdy
3 Nov 2009, 5:00 AM
Thanks,
It worked