<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx</link><description>Beta 2 includes a wealth of new controls including the Popup (that is new, right? It’s not that I just didn’t notice it before?). I received an email today asking if I’d do a short How Do I video on creating a Popup and I certainly will, but here is a</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#166147</link><pubDate>Mon, 26 Jan 2009 20:57:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:166147</guid><dc:creator>jesseliberty</dc:creator><description>&lt;p&gt;mWieder, the two ways I showed were not wrong, they just weren't as cool as using a user control (I do have videos on adding user controls; I'll have to check on whether I actually went back and did show the popup as a user control. If not, I'll be sure to add that to the list as you are right, I certainly promised to do so. &amp;nbsp;&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=166147" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#164177</link><pubDate>Wed, 21 Jan 2009 20:36:30 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:164177</guid><dc:creator>mwieder</dc:creator><description>&lt;p&gt;So you tell us and supply sample code for both &amp;quot;wrong&amp;quot; ways and we get no help doing it the right way?&lt;/p&gt;
&lt;p&gt;Where is the sample code? &amp;nbsp;Where is the video you promised?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=164177" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#161068</link><pubDate>Thu, 15 Jan 2009 13:38:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:161068</guid><dc:creator>22khz</dc:creator><description>&lt;p&gt;So...how about that custom popup video? :D&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=161068" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#158020</link><pubDate>Thu, 08 Jan 2009 21:28:53 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:158020</guid><dc:creator>John.J.Hughes.II</dc:creator><description>&lt;p&gt;If you want popups not to crash when you create them in code you need to link them to the parent. &amp;nbsp;Basically add the new pop to the children.&lt;/p&gt;
&lt;p&gt;In the below code TestPopupItem is a standard user control.&lt;/p&gt;
&lt;p&gt;Popups.TestPopupItem filterWindow = new Popups.TestPopupItem();&lt;/p&gt;
&lt;p&gt;this.filterPopup = new Popup();&lt;/p&gt;
&lt;p&gt;this.LayoutRoot.Children.Add(this.filterPopup);&lt;/p&gt;
&lt;p&gt;this.filterPopup.HorizontalOffset = 80;&lt;/p&gt;
&lt;p&gt;this.filterPopup.VerticalOffset = 80;&lt;/p&gt;
&lt;p&gt;this.filterPopup.Child = this.filterWindow;&lt;/p&gt;
&lt;p&gt;this.filterPopup.IsOpen = true;&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=158020" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#144811</link><pubDate>Tue, 09 Dec 2008 16:19:16 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:144811</guid><dc:creator>Michaeljz</dc:creator><description>&lt;p&gt;Thanks for the example.&lt;/p&gt;
&lt;p&gt;The msdn library entry for popup has a note that the popup should be added to the visual tree to prevent runtime errors. &amp;nbsp;I have a couple of questions about that:&lt;/p&gt;
&lt;p&gt;Is that still necessary as a workaround? &amp;nbsp;I ask because it isn't shown above.&lt;/p&gt;
&lt;p&gt;What do you suggest as best practices for doing this? &amp;nbsp;The example code suggests &amp;quot;LayoutRoot.Children.Add(myPopup);&amp;quot; but that opens up some issues. &amp;nbsp;LayoutRoot might not be the name of the top panel, and if you're implementing a user control it isn't in scope anyway. &amp;nbsp;But you can't always add the popup to the user control because it might have a Border (with one Child rather than Children) as the top level item.&lt;/p&gt;
&lt;p&gt;It seems like this complicates the destructor/release step as well - the popup has to be removed from the visual root so it can be garbage collected.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=144811" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#130250</link><pubDate>Thu, 13 Nov 2008 11:38:32 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:130250</guid><dc:creator>ice85</dc:creator><description>&lt;p&gt;If I add an image into Popup it don't show it. Someone can tell me why?&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=130250" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#80561</link><pubDate>Thu, 14 Aug 2008 08:11:34 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:80561</guid><dc:creator>Gabrielle</dc:creator><description>&lt;p&gt;So where the video is?...&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=80561" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#76206</link><pubDate>Thu, 31 Jul 2008 08:18:35 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:76206</guid><dc:creator>debbiea</dc:creator><description>&lt;p&gt;when is the video coming up? Or is it already up? thanks.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=76206" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#67012</link><pubDate>Tue, 01 Jul 2008 15:39:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:67012</guid><dc:creator>jregehr</dc:creator><description>&lt;p&gt;Jesse,&lt;/p&gt;
&lt;p&gt;Is there a way to get the absolute x and y positions of another control on-screen? &amp;nbsp;It would be useful to be able to dynamically position a popup directly below its calling control.&lt;/p&gt;
&lt;p&gt;This would be one way to create a custom combobox control, using popup to display a listbox of data choices.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=67012" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#61359</link><pubDate>Sun, 15 Jun 2008 16:14:22 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:61359</guid><dc:creator>brauliod</dc:creator><description>&lt;p&gt;It would be quite interesting to see how to extend the popup control, in order to have a base popup template (e.g. a base popup that has by default certain colors, a close button... so you don't have to repeat that boiler plate code on each popup in your application).&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=61359" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#61348</link><pubDate>Sun, 15 Jun 2008 14:39:57 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:61348</guid><dc:creator>brauliod</dc:creator><description>&lt;p&gt;This kind of popups are modal, is it possible to configure them to be modeless?&lt;/p&gt;
&lt;p&gt;Nice tutorial, ... I was creating this thing manually :).&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=61348" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#58442</link><pubDate>Sun, 08 Jun 2008 15:59:44 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:58442</guid><dc:creator>jesseliberty</dc:creator><description>&lt;p&gt;About partial code...&lt;/p&gt;
&lt;p&gt;I uploaded partial code because a user suggested to me that it was painful downlaoding an entire project. &lt;/p&gt;
&lt;p&gt;I have now received feedback that my solution is penny wise and pound (dollar?) foolish and I agree. After going through the steps of recreating the project, it is just too painful. So I'll be uploading full projects from now on.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=58442" width="1" height="1"&gt;</description></item><item><title>Silverlight Cream for June 06, 2008 -- # 292</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#57912</link><pubDate>Fri, 06 Jun 2008 22:18:17 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57912</guid><dc:creator>Community Blogs</dc:creator><description>&lt;p&gt;Some reading while waiting for B2--- John Stockton on Intranet Installations, Jesse Liberty on the Popup&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=57912" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#57885</link><pubDate>Fri, 06 Jun 2008 20:13:03 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57885</guid><dc:creator>BenHayat</dc:creator><description>&lt;p&gt;The only new control I see added, is the Tab Control.&lt;/p&gt;
&lt;p&gt;..Ben&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=57885" width="1" height="1"&gt;</description></item><item><title>re: Popup Control</title><link>http://blogs.silverlight.net/blogs/jesseliberty/archive/2008/06/06/popup-control.aspx#57883</link><pubDate>Fri, 06 Jun 2008 20:09:09 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:57883</guid><dc:creator>BenHayat</dc:creator><description>&lt;p&gt;Where is WatermarkedTextBox?&lt;/p&gt;
&lt;p&gt;..Ben&lt;/p&gt;
&lt;img src="http://blogs.silverlight.net/aggbug.aspx?PostID=57883" width="1" height="1"&gt;</description></item></channel></rss>