I recompiled and it worked now. I did have the wrong ID name in my parent element, but i'm not sure why it then worked on debug mode and not anything else.
Silverlight.createObject(
"myxaml.xml",
// Source property value.
parentElement,
// DOM reference to hosting DIV tag.
"mySilverlightPluginHost",
// Unique plugin ID value.
danparker276
Member
6 Points
5 Posts
Re: Re: Re: Server isn't seeing my xaml file
Aug 20, 2007 11:19 PM | LINK
I recompiled and it worked now. I did have the wrong ID name in my parent element, but i'm not sure why it then worked on debug mode and not anything else.
Silverlight.createObject(
"myxaml.xml", // Source property value.parentElement,
// DOM reference to hosting DIV tag. "mySilverlightPluginHost", // Unique plugin ID value.