Page view counter

Silverlight Tips of the Day - Blog by Mike Snow

Game Programming with Silverlight

Silverlight Tip of the Day #84 – How to Dynamically Load a Control from a DLL

This tip has been migrated to to new site at: http://www.michaelsnow.com/2010/05/06/silverlight-tip-of-the-day-14-dynamically-loading-a-control-from-a-dll-on-a-server/

Thanks,

--Mike

Comments

Microsoft Weblogs said:

If you have a large game or application it might be wise to break it up into smaller components that

# January 21, 2009 6:42 PM

Silverlight Travel » Dynamically Load a Control from a DLL said:

Pingback from  Silverlight Travel » Dynamically Load a Control from a DLL

# January 22, 2009 12:48 AM

samcov said:

Did you have to add it to the root, or was that just your desired position?

# January 22, 2009 5:00 AM

samcov said:

Another Question.

How would you pass initilization parameters to the control?  The only solution I can think of is to execute a known method via reflection, or once added to the tree, get a reference, and then call some init method.

What do you think?

# January 22, 2009 5:21 AM

Silverlight Tips of the Day - Blog by Mike Snow said:

In Tip of the Day #84 I discussed the importance of being able to load controls from server side components

# January 22, 2009 7:51 PM

mike.snow said:

Samcov- You can add it anywhere. As for the parameters, i'll look into it. :)

# January 22, 2009 7:52 PM

DotNetShoutout said:

Thank you for submitting this cool story - Trackback from DotNetShoutout

# January 22, 2009 11:40 PM

Community Blogs said:

In this issue: Russell Greenspan, Andrej Tozon, Patrick Keating, Timmy Kokke, csharpsean, John Stockton

# January 23, 2009 1:46 AM

Silverlight Travel » How to Load External Images in Silverlight said:

Pingback from  Silverlight Travel » How to Load External Images in Silverlight

# January 23, 2009 4:25 AM

Silverlight Tips of the Day - Blog by Mike Snow said:

The purpose of this post is to create an outline summary all the blogs from my Silverlight Tips of the

# January 23, 2009 7:21 PM

Programming with Silverlight, WPF & .NET » Tip of The Day #84 - #89 How to …. said:

Pingback from  Programming with Silverlight, WPF & .NET » Tip of The Day #84 - #89 How to ….

# January 29, 2009 2:26 AM

Visual Web Developer Team Blog said:

Most Recent Posts: Tip #93 - Reading XML with Silverlight Tip #92 - How to Load Images from a Stream

# February 10, 2009 6:25 PM

mliebster said:

Is it possible to strongly type these dynamic loaded dlls?

We've got a fairly complicated LOB to put together and it would be handy to break it into separate projects.

Strongly typing it would be handy so that we could make method calls into them.

Or do we just need to rely on reflection?

# April 10, 2009 8:12 PM

mike.snow said:

I would think so but honestly I haven't tried yet. This might be a good question to post on the Silverlight forums at silverlight.net.

If I can find time though I will try to test it out :)

--Mike

# April 13, 2009 11:25 AM

misschoudhary said:

While execution i got this error how to solve?

An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.

# April 27, 2009 3:24 AM

Astuce Silverlight : comment charger dynamiquement un contr??le depuis une DLL - #S027 | Coded Style said:

Pingback from  Astuce Silverlight : comment charger dynamiquement un contr??le depuis une DLL - #S027 | Coded Style

# May 6, 2009 7:11 PM

Astuce Silverlight : comment charger dynamiquement un contr??le depuis une DLL - #S027 | Coded Style said:

Pingback from  Astuce Silverlight : comment charger dynamiquement un contr??le depuis une DLL - #S027 | Coded Style

# May 6, 2009 7:11 PM

Dark Under Eye said:

Pingback from  Dark Under Eye

# March 10, 2011 9:14 PM

Dark Under Eye said:

Pingback from  Dark Under Eye

# March 10, 2011 9:14 PM

get traffic travis professional said:

Pingback from  get traffic travis professional

# April 20, 2011 4:07 AM