Roman Pelepei's .Net How To? Blog

Roman Pelepei gives smart answers on questions about C# .Net, ASP .Net, WPF and Silverlight programming with examples and source code.

четверг, 9 октября 2008 г.

How to Dynamically Load a Silverlight Control within another Silverlight Control

Let’s say your site is entirely written in Silverlight but you want to be able to load and run a different Silverlight application within your main Silverlight application/site. Currently this scenario is not directly supported in Silverlight. However, I have a work around that will more or less accomplish this scenario.

The way I do this is to add a second, hidden Silverlight control to your web page. I set the Source for this second Silverlight control to be empty (“”) until I want the Silverlight control to load and display. I also put the control in a DIV that is hidden. You can load and unload this control as well and you can dynamically set it to point to different XAP’s to load different applications in your site.
Автор: rpelepei на 05:14
Отправить по электронной почтеНаписать об этом в блогеПоделиться в XОпубликовать в FacebookПоделиться в Pinterest
Ярлыки: control, silverlight

Комментариев нет:

Отправить комментарий

Следующее Предыдущее Главная страница
Открыть мобильную версию
Подписаться на: Комментарии к сообщению (Atom)

Поиск по этому блогу

Обо мне

Моя фотография
rpelepei
Просмотреть профиль

Подпишитесь на

Сообщения
Atom
Сообщения
Комментарии
Atom
Комментарии

Архив блога

  • ►  2014 (4)
    • ►  января (4)
  • ►  2013 (42)
    • ►  декабря (5)
    • ►  ноября (2)
    • ►  октября (6)
    • ►  сентября (3)
    • ►  августа (7)
    • ►  июля (7)
    • ►  июня (4)
    • ►  февраля (4)
    • ►  января (4)
  • ►  2012 (55)
    • ►  декабря (3)
    • ►  ноября (3)
    • ►  октября (5)
    • ►  сентября (16)
    • ►  августа (21)
    • ►  мая (2)
    • ►  апреля (1)
    • ►  февраля (1)
    • ►  января (3)
  • ►  2011 (89)
    • ►  декабря (7)
    • ►  ноября (3)
    • ►  октября (3)
    • ►  сентября (8)
    • ►  августа (4)
    • ►  июля (12)
    • ►  мая (2)
    • ►  апреля (12)
    • ►  марта (3)
    • ►  февраля (7)
    • ►  января (28)
  • ►  2010 (89)
    • ►  декабря (4)
    • ►  ноября (12)
    • ►  октября (4)
    • ►  сентября (12)
    • ►  августа (5)
    • ►  июня (2)
    • ►  мая (9)
    • ►  апреля (5)
    • ►  марта (19)
    • ►  февраля (13)
    • ►  января (4)
  • ►  2009 (156)
    • ►  декабря (3)
    • ►  ноября (16)
    • ►  октября (25)
    • ►  сентября (23)
    • ►  августа (34)
    • ►  июля (43)
    • ►  мая (5)
    • ►  апреля (1)
    • ►  марта (4)
    • ►  февраля (1)
    • ►  января (1)
  • ▼  2008 (9)
    • ►  ноября (2)
    • ▼  октября (7)
      • Урок фотошопа: Зеркальные очки
      • Создаем фон для фотографии в Photoshop. Комментари...
      • How to Dynamically Load a Silverlight Control with...
      • ASP.NET Open Source Projects
      • Microsoft Web Platform
      • Многомерные массивы в языке С#
      • Localization : Flags, how to change the Culture - ...

Ярлыки

.net (12) 3D Max (1) бесплатный хостинг (1) домены (1) многомерные массивы (1) русификация (1) AccountManagement (1) ActionSctipt (6) add (1) add parameter (1) AdRotator (1) ajax (9) ajax .net (1) animation (2) AnkhSVN (1) application (1) Application Domain (1) Application Pool (1) as (1) asp .net (62) AssociatedControlID (1) AsyncFileUpload (1) autocomplete (1) AutoEventWireup (1) bing (1) bios (1) byte array (1) C# (80) cdn (1) chart (1) Check Constraints (1) clr enabled (1) cmd (1) Color (1) COM (1) Computed Column (2) control (2) convert (1) Cookie (1) count (1) CROSS APPLY (1) cryptographic (1) css (6) csv (2) curves (1) custom (1) databinding (1) DataPager (1) DataTable (1) DatePart (1) DateTime (2) db4o (1) development (1) dialog (1) directory (1) DispatcherTimer (1) div (1) dll (1) dpi (1) Drive Letters (1) encription (1) entity (15) error (5) Events (2) excel (4) extern alias (1) facebook (2) file upload (2) Flags (1) Flex (1) Fluent Interface (1) foreach (1) foreign key (1) format (3) ftp (1) functions (1) GDI (1) Generics (1) Getters (3) global.asax (1) gmail (1) HierarchyID (3) hosting (1) html (9) HTMLDocument (1) http (1) HttpHandler (1) https (1) HTTPWebRequest (1) Id (1) ie10 (1) iis6 (3) iis7 (8) image (1) insert (2) intellisense (1) IOCP (2) Javascript (9) jQuery (2) Label (1) Lambda Expression (2) learn (3) lens (1) Let (1) Life Cycle (1) lines (1) LINQ (6) list (1) ListView (1) localization (2) mail (2) marketplace (1) md5 (1) MDI (1) media services (1) MEF (1) Microsoft Web Platform (1) model first (1) msi (1) mvc (3) MySQL (1) new (1) nullable types (1) nvarchar (1) Objects (1) open file (2) opensource (1) OUTPUT (1) override (1) page (2) PagerTemplate (1) panel (1) password (1) pdf (1) Persisted (1) photoshop (4) php (4) PInvoke (2) plugin (1) popup (1) PUT (1) QueryExtender (1) random (2) readonly (1) redirect (1) regex (3) registry (1) ReorderList (1) resize (1) rollback (1) routing (3) rss (1) SaveFileDialog (1) scrollbar (1) SecureString (1) select (1) selected row (1) SelectMany (1) sendmail (1) seo (1) serialization (3) ServiceLocator (1) Session (1) Setters (3) shapes (1) SharePoint (1) shortcuts (1) silverlight (14) Singleton (1) skin (1) SkyDrive (1) Smooth Streaming (2) smpt (2) spaces (1) span (1) sql (21) sql server (6) SqlDataSource (1) SqlHierarchyId (1) SSRS (1) static methods (1) Stopwatch (1) stored procedure (1) string (5) svn (2) table (1) TempData (1) templates (1) text (1) text files (1) TFS (1) themes (1) threading (2) time (1) timer (3) TimeSpan (1) toolkit (2) Transaction (1) transparent (1) TreeView (1) Trojan.Winlock (1) uninstall (1) Unique (1) update (1) URL Rewrite (1) UTC (1) vb (1) ViewState (1) visual studio (7) visualSVN (1) website (2) while (1) Win32 (1) windows 7 (6) windows froms (7) windows server (1) word (1) WordPress (1) wpf (18) xml (2) xss (1)

Стоит прочесть

  • Entity Framework 4.0 Recipes: A Problem-Solution Approach
  • Pro ASP.NET 4 in C# 2010, Fourth Edition

Счетчик

Powered By Blogger
Тема "Простая". Автор изображений для темы: fpm. Технологии Blogger.