<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>views Forum Rss Feed</title><link>http://www.codeplex.com/views/Thread/List.aspx</link><description>views Forum Rss Description</description><item><title>New Post: Adding Other silverlight Elements Adjacent to MAP</title><link>http://views.codeplex.com/Thread/View.aspx?ThreadId=49959</link><description>&lt;div style="line-height: normal;"&gt;You'll need to look at the demo that comes with VIEWS. There is an example of showing a Silverlight popup over the Virtual Earth control. The Virtual Earth control is not done in Silverlight today, it's done in the browser. You'll need to float UI over the top of the Virtual Earth control. The SLPopup shows how to do it.&lt;br&gt;
&lt;br&gt;
On a side note, please try to watch the keynote at Mix this week (&lt;a href="http://www.visitmix.com"&gt;www.visitmix.com&lt;/a&gt;).
&lt;/div&gt;</description><author>jbienz</author><pubDate>Thu, 12 Mar 2009 19:47:02 GMT</pubDate><guid isPermaLink="false">New Post: Adding Other silverlight Elements Adjacent to MAP 20090312074702P</guid></item><item><title>New Post: Adding Other silverlight Elements Adjacent to MAP</title><link>http://views.codeplex.com/Thread/View.aspx?ThreadId=49959</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
 Im Using the VEMap and have added the code same as given here and it works great. Now i like to add a Textblock Element adjacent to Map on click of which this will display in Full Screen. Im not able to make it work.  Pls Help me out    
&lt;/div&gt;</description><author>sundararajan009</author><pubDate>Thu, 12 Mar 2009 07:05:51 GMT</pubDate><guid isPermaLink="false">New Post: Adding Other silverlight Elements Adjacent to MAP 20090312070551A</guid></item><item><title>New Post: How to add a pushpin to the map? (problem getting LatLong-values)</title><link>http://views.codeplex.com/Thread/View.aspx?ThreadId=48987</link><description>&lt;div style="line-height: normal;"&gt;The LatLong isn't always supplied. This is the case in JavaScript as well. The trick is to use the pixel coordinates to get a LatLong:&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;span style="color:#0000ff;font-size:13px"&gt;&lt;span style="color:#0000ff;font-size:13px"&gt;
&lt;p&gt;private&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="color:#0000ff;font-size:13px"&gt;void&lt;/span&gt;&lt;span style="font-size:13px"&gt; map_MouseUp(&lt;/span&gt;&lt;span style="color:#0000ff;font-size:13px"&gt;object&lt;/span&gt;&lt;span style="font-size:13px"&gt; sender, &lt;/span&gt;&lt;span style="color:#2b91af;font-size:13px"&gt;VEMapEventArgs&lt;/span&gt;&lt;span style="font-size:13px"&gt; e)
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#008000;font-size:13px"&gt;// Get a VE LatLong from the map coordinates
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;span style="font-size:13px"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;p&gt;&lt;span style="color:#2b91af;font-size:13px"&gt;VELatLong&lt;/span&gt;&lt;span style="font-size:13px"&gt; latLong = map.PixelToLatLong(&lt;/span&gt;&lt;span style="color:#0000ff;font-size:13px"&gt;new&lt;/span&gt;&lt;span style="font-size:13px"&gt; &lt;/span&gt;&lt;span style="color:#2b91af;font-size:13px"&gt;VEPixel&lt;/span&gt;&lt;span style="font-size:13px"&gt;(e.MapX, e.MapY));
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#008000;font-size:13px"&gt;// Do something with the LatLong&lt;br&gt;
&lt;/span&gt;&lt;span style="font-size:13px"&gt;}
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>jbienz</author><pubDate>Thu, 05 Mar 2009 02:40:12 GMT</pubDate><guid isPermaLink="false">New Post: How to add a pushpin to the map? (problem getting LatLong-values) 20090305024012A</guid></item><item><title>New Post: How to add a pushpin to the map? (problem getting LatLong-values)</title><link>http://views.codeplex.com/Thread/View.aspx?ThreadId=48987</link><description>&lt;div style="line-height: normal;"&gt;&lt;pre&gt;I've been trying out things with VIEWS and one problem is bothering me. How can I add a pin on to the map to the exact spot where my cursor &lt;br&gt;is pointing? VEMapEventArgs is not giving me LatLong values which I would need. It's failing to give me it, VEMapEventArgs.LatLong.Latitude&lt;br&gt;is not returning anything. I debugged it and the result is a null reference.&lt;br&gt;
Do you have any idea how to get that info needed to creating a pushpin to the cursor spot in the map? Thank you for any help.
&lt;/pre&gt;
&lt;/div&gt;</description><author>wio</author><pubDate>Mon, 02 Mar 2009 23:58:00 GMT</pubDate><guid isPermaLink="false">New Post: How to add a pushpin to the map? (problem getting LatLong-values) 20090302115800P</guid></item><item><title>New Post: Pushpin text gets misplaced if pushpin located at the bottom...</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=45490</link><description>&lt;div style="line-height: normal;"&gt;&lt;span style="color:#663399"&gt;Hi&lt;br&gt;
&lt;br&gt;
I tried creating virutal earth wrapper for silverlight and place in sharepoint content editor webpart, it works fine. &lt;br&gt;
But when place the the webpart at bottom and scroll down the broswer window OR pushpin is located at the bottom the pushpin text gets misplaced OR show at top, i need that to show in the map itself  anysolution&lt;br&gt;
&lt;br&gt;
thanks in advance&lt;br&gt;
&lt;br&gt;
Regards&lt;br&gt;
Cute&lt;br&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/span&gt;
&lt;/div&gt;</description><author>cute</author><pubDate>Wed, 28 Jan 2009 15:03:48 GMT</pubDate><guid isPermaLink="false">New Post: Pushpin text gets misplaced if pushpin located at the bottom... 20090128030348P</guid></item><item><title>New Post: About VB.NET AttachEvent()</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=43072</link><description>&lt;div style="line-height: normal;"&gt;Hi all,&lt;br&gt;
&lt;br&gt;
Can someone teach me how to use VEMap.AttachEvent in VB? Because i'm quite new to this open source API.&lt;br&gt;
&lt;br&gt;
Example:&lt;br&gt;
JScript is map.AttachEvent(&amp;quot;onendzoom&amp;quot;,EndZoomHandler);
&lt;br&gt;
function EndZoomHandler(e)
{
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;         var z = map.GetZoomLevel();
document.getElementById('resultDiv').innerHTML=&amp;quot;Map stopped zooming.&amp;lt;br&amp;gt;Current zoom level= &amp;quot;+z;
&lt;br&gt;
}
&lt;br&gt;
&lt;br&gt;
How do i change it to VB? Is there any tutorial or sample code in VB provided? Please reply. Thank you=) 
&lt;/div&gt;</description><author>ngzidane</author><pubDate>Sun, 28 Dec 2008 06:01:09 GMT</pubDate><guid isPermaLink="false">New Post: About VB.NET AttachEvent() 20081228060109A</guid></item><item><title>New Post: Addressing 6.2 Changes</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=39709</link><description>&lt;div style="line-height: normal;"&gt; 
&lt;p style="font-size:11pt;margin:0in 0in 0in 0.375in;font-family:calibri"&gt;When we originally wrapped Virtual Earth we made our own version of VEMap.LoadMap that didn't follow its JavaScript signature exactly. The JavaScript version had 7 parameters, all of which were optional, and this is uncommon in C#. So we created a method that took the 3 most common parameters and added our own structure (LoadMapOptions) to handle the other less commonly used and optional parameters.&lt;/p&gt;
&lt;p style="font-size:11pt;margin:0in 0in 0in 0.375in;font-family:calibri"&gt; &lt;/p&gt;
&lt;p style="font-size:11pt;margin:0in 0in 0in 0.375in;font-family:calibri"&gt;Now in 6.2, the Virtual Earth team has done something similar for new features by adding them to a VEMapOptions class. The LoadMap method still accepts all 7 original parameters, but now you can also pass an 8th optional parameter of type VEMapOptions. VEMapOptions adds four new settings and future additions are likely to be placed there.&lt;/p&gt;
&lt;p style="font-size:11pt;margin:0in 0in 0in 0.375in;font-family:calibri"&gt; &lt;/p&gt;
&lt;p style="font-size:11pt;margin:0in 0in 0in 0.375in;font-family:calibri"&gt;The question is, how do you think we should resolve this? I see three different ways:&lt;/p&gt;
&lt;p style="font-size:11pt;margin:0in 0in 0in 0.375in;font-family:calibri"&gt; &lt;/p&gt;
&lt;ol style="margin-top:0in;font-size:11pt;margin-bottom:0in;margin-left:0.375in;direction:ltr;font-family:calibri;unicode-bidi:embed" type=1&gt;
    &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=1&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;Make the C# signature match the JavaScript signature exactly and get rid of MapLoadOptions (VIEWS). &lt;/span&gt;
    &lt;ol style="margin-top:0in;font-size:11pt;margin-bottom:0in;margin-left:0.375in;direction:ltr;font-family:calibri;unicode-bidi:embed" type=a&gt;
        &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=1&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;- This will break existing VIEWS applications&lt;/span&gt;&lt;/li&gt;
        &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=2&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;- This will go against .Net coding guidelines and may seem 'strange' to native .Net developers&lt;/span&gt;&lt;/li&gt;
        &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=3&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;- Parameters cannot be optional in C# so many overrides will have to be defined&lt;/span&gt;&lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;ol style="margin-top:0in;font-size:11pt;margin-bottom:0in;margin-left:0.375in;direction:ltr;font-family:calibri;unicode-bidi:embed" type=1&gt;
    &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=2&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;Merge the MapOptions (VE) and MapLoadOptions (VIEWS) classes&lt;/span&gt;
    &lt;ol style="margin-top:0in;font-size:11pt;margin-bottom:0in;margin-left:0.375in;direction:ltr;font-family:calibri;unicode-bidi:embed" type=a&gt;
        &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=1&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;+ This will not break existing VIEWS applications&lt;/span&gt;&lt;/li&gt;
        &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=2&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;- This will not be as intuitive to maintain because the class will be a mixture of JavaScript wrapped code and code that's used only within VIEWS&lt;/span&gt;&lt;/li&gt;
        &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=3&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;- This can become confusing to end users because this class won't map directly to a Virtual Earth object (whereas the rest of the code either maps or it doesn't - there is no mixing)&lt;/span&gt;&lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;ol style="margin-top:0in;font-size:11pt;margin-bottom:0in;margin-left:0.375in;direction:ltr;font-family:calibri;unicode-bidi:embed" type=1&gt;
    &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=3&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;Add a MapOptions (VE) property  to the existing MapLoadOptions (VIEWS) structure&lt;/span&gt;
    &lt;ol style="margin-top:0in;font-size:11pt;margin-bottom:0in;margin-left:0.375in;direction:ltr;font-family:calibri;unicode-bidi:embed" type=a&gt;
        &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=1&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;+ This will not break any existing VIEWS applications&lt;/span&gt;&lt;/li&gt;
        &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=2&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;+ It's is easy to implement&lt;/span&gt;&lt;/li&gt;
        &lt;li style="margin-top:0px;margin-bottom:0px;vertical-align:middle" value=3&gt;&lt;span style="font-size:11pt;font-family:calibri"&gt;- It could be confusing having a MapLoadOptions.MapOptions property&lt;/span&gt;&lt;/li&gt;
    &lt;/ol&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;p style="font-size:11pt;margin:0in 0in 0in 0.75in;font-family:calibri"&gt; &lt;/p&gt;
&lt;p style="font-size:11pt;margin:0in 0in 0in 0.375in;font-family:calibri"&gt;What are your thoughts?&lt;/p&gt;
&lt;/div&gt;</description><author>jaredbienz</author><pubDate>Tue, 11 Nov 2008 20:00:26 GMT</pubDate><guid isPermaLink="false">New Post: Addressing 6.2 Changes 20081111080026P</guid></item><item><title>New Post: Working with Events of Popup  XAML</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=32987</link><description>&lt;div style="line-height: normal;"&gt;This is a bug.&lt;br&gt;
It will trigger a mouse event which will cause exception &amp;quot;Operation is not valid due to the current state of the object&amp;quot;.&lt;br&gt;
You can avoid this by comment out  the following in the method &amp;quot;&lt;span style="font-size:13px"&gt;HidePopup()&lt;/span&gt;&amp;quot;&lt;span style="font-size:13px;color:#008000"&gt;
&lt;p&gt;&lt;strong&gt;elem.SetStyleAttribute(&amp;quot;visibility&amp;quot;, &amp;quot;hidden&amp;quot;);&lt;br&gt;
&lt;br&gt;
&lt;/strong&gt;&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Feng Gu&lt;/p&gt;
&lt;/span&gt;
&lt;/div&gt;</description><author>fenggu</author><pubDate>Tue, 28 Oct 2008 21:31:56 GMT</pubDate><guid isPermaLink="false">New Post: Working with Events of Popup  XAML 20081028093156P</guid></item><item><title>New Post: VE Map Control 6.2</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=36764</link><description>&lt;div style="line-height: normal;"&gt;Hey Jo. We deffinately want to update to 6.2 but I just honestly can't get to it until the week of 11/10. I've asked the other contributors if they can get to it any sooner.
&lt;/div&gt;</description><author>jaredbienz</author><pubDate>Fri, 10 Oct 2008 13:34:53 GMT</pubDate><guid isPermaLink="false">New Post: VE Map Control 6.2 20081010013453P</guid></item><item><title>New Post: VE Map Control 6.2</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=36764</link><description>&lt;div style="line-height: normal;"&gt;Are there plans to update this project with the new features of the control?&lt;br&gt;
&lt;br&gt;
Thanks.&lt;br&gt;
-jo
&lt;/div&gt;</description><author>jogi724</author><pubDate>Tue, 30 Sep 2008 21:50:15 GMT</pubDate><guid isPermaLink="false">New Post: VE Map Control 6.2 20080930095015P</guid></item><item><title>New Post: FindLocations Method</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=34749</link><description>&lt;div style="line-height: normal;"&gt;Thanks Philippe, it looks like you found a method we did not wrap. Can you please create an issue in the issue tracker and use that URL above? Either Ian or I will address it soon.
&lt;/div&gt;</description><author>jaredbienz</author><pubDate>Wed, 03 Sep 2008 13:15:27 GMT</pubDate><guid isPermaLink="false">New Post: FindLocations Method 20080903011527P</guid></item><item><title>New Post: FindLocations Method</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=34749</link><description>&lt;div style="line-height: normal;"&gt;Hi guys, &lt;br&gt;
&lt;br&gt;
Recently I have download and try this. Is a very handy tools. Thanks.&lt;br&gt;
I notice that there is a missing method &amp;quot;Map.FindLocation&amp;quot;&lt;br&gt;
http://msdn.microsoft.com/en-us/library/cc469978.aspx&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>phillippe</author><pubDate>Tue, 02 Sep 2008 14:03:11 GMT</pubDate><guid isPermaLink="false">New Post: FindLocations Method 20080902020311P</guid></item><item><title>New Post: Working with Events of Popup  XAML</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=32987</link><description>&lt;div style="line-height: normal;"&gt;thanks Jared for the reply,&lt;br&gt;
&lt;br&gt;
I used the basic available code and worked on the same. &lt;br&gt;
To reproduce the same, &lt;br&gt;
Just click(right click / left click) on the popup window. (even if the button is not available)&lt;br&gt;
Comeback to the map and click any other pin, you will face the unknown exception&lt;br&gt;
&lt;br&gt;
I am going to add the same repro steps in the issue tracker as well.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Mohammed Idrees&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/div&gt;</description><author>maidrees</author><pubDate>Thu, 21 Aug 2008 14:31:53 GMT</pubDate><guid isPermaLink="false">New Post: Working with Events of Popup  XAML 20080821023153P</guid></item><item><title>New Post: Working with Events of Popup  XAML</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=32987</link><description>&lt;div style="line-height: normal;"&gt;I believe this is the same issue as you're discussing in&amp;nbsp;this thread:&amp;nbsp;&lt;span style="font-size:13px"&gt;[discussion:32840]. Is that&lt;/span&gt; correct?&lt;br&gt;
&lt;br&gt;
Just looking at the short code snippet I'd be careful that you're not trying to add btnx to the stack panel more than once. That seems to happen on every button click and I don't see where it gets removed. You can always tell Visual Studio to catch exceptions the moment they are thrown and this may keep the exception from bubbling up into JavaScript.&lt;br&gt;
&lt;br&gt;
Again, if this is truly an issue with VIEWS you can open an issue in the issue tracker and attach sample code and steps to reproduce.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
Jared Bienz
&lt;/div&gt;</description><author>jaredbienz</author><pubDate>Thu, 21 Aug 2008 13:18:05 GMT</pubDate><guid isPermaLink="false">New Post: Working with Events of Popup  XAML 20080821011805P</guid></item><item><title>New Post: Silverlight Popup Display</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=32840</link><description>&lt;div style="line-height: normal;"&gt;It's kinda hard for me to follow what you're&amp;nbsp;describing since I've not seen this behavior. If you'd like to open up a bug&amp;nbsp;report and attach sample code and steps to reproduce we can look at it.&amp;nbsp;Please do this&amp;nbsp;through the issue tracker and we'll see what we can do.&lt;br&gt;
&lt;br&gt;
Thanks Mohammed,&lt;br&gt;
&lt;br&gt;
Jared Bienz
&lt;/div&gt;</description><author>jaredbienz</author><pubDate>Thu, 21 Aug 2008 13:13:56 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight Popup Display 20080821011356P</guid></item><item><title>New Post: Silverlight Popup Display</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=32840</link><description>&lt;div style="line-height: normal;"&gt;Thanks Jared. I got the pin and on click of the pin, the popup is being displayed.&lt;br&gt;
&lt;br&gt;
But the potential problem that I saw with the popup is that clicking (right click / left click) on the popup actually paralysing the functionality of the map_click method. clicking again on any other pin gives the&amp;nbsp; unkown exception error at silverlightPopup.content.popup.HidePopup();&amp;nbsp;&amp;nbsp; of popup.js file.&lt;br&gt;
&lt;br&gt;
Hence this is not allowing us to add any button on the popup and its corresponding funcationality&lt;br&gt;
&lt;br&gt;
However, I appreciate if you please suggest me the way to implement the same(adding buttons in popup and performing action. Coming back to the map and clicking on the pin should work fine which is right now not happening).&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Mohammed Idrees&lt;br&gt;
&lt;/div&gt;</description><author>maidrees</author><pubDate>Thu, 21 Aug 2008 07:34:58 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight Popup Display 20080821073458A</guid></item><item><title>New Post: Silverlight Popup Display</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=32840</link><description>&lt;div style="line-height: normal;"&gt;The popup is displayed when you click on a push pin. You must have a push pin to click by looking up an address or business.
&lt;/div&gt;</description><author>jaredbienz</author><pubDate>Wed, 20 Aug 2008 15:53:46 GMT</pubDate><guid isPermaLink="false">New Post: Silverlight Popup Display 20080820035346P</guid></item><item><title>New Post: Working with Events of Popup  XAML</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=32987</link><description>&lt;div style="line-height: normal;"&gt;Hi, Can anyone please guide as how we can have the buttons and its managed events in silverlight popup display.&lt;br&gt;
&lt;br&gt;
I am trying to use popup.cs file(ShowPopup method) to add new button and its event('Click'). This is working fine for only one pushpin click. Once I come back to the map and click another pushpin to see its popup. I am getting an exception.&lt;br&gt;
&lt;br&gt;
The code I added in the ShowPopup Method of popup.cs file is&lt;br&gt;
&amp;nbsp; Button btnx = new Button();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; btnx.Click += new RoutedEventHandler(btnx_Click);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; btnx.Content = &amp;quot;Display Map after the click&amp;quot;;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pg.stackPanel.Width = 800;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pg.stackPanel.Height = 640;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pg.stackPanel.Children.Add(btnx);&lt;br&gt;
&lt;br&gt;
The error I am getting once I click on any other pushpin after coming back from popup is&lt;br&gt;
&amp;quot;unknown exception&amp;quot; at silverlightPopup.content.popup.ShowPopup(this); in popup.js.&lt;br&gt;
&lt;br&gt;
Can anyone please suggest me the ways as how we can have the buttons in popup and its associated managed events.&lt;br&gt;
&lt;br&gt;
Thanks in anticipation&lt;br&gt;
&lt;br&gt;
Mohammed Idrees&lt;br&gt;
&lt;/div&gt;</description><author>maidrees</author><pubDate>Wed, 20 Aug 2008 05:06:43 GMT</pubDate><guid isPermaLink="false">New Post: Working with Events of Popup  XAML 20080820050643A</guid></item><item><title>New Post: Working with Events of Popup  XAML</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=32987</link><description>&lt;div style="line-height: normal;"&gt;Thanks Jared. I got the solution to display the Silverlight Popup on OnClick event of the shapes. &lt;br&gt;
&lt;br&gt;
My current scenario is to have the silverlight button in the popup xaml content and add the events to the button using managed code.&lt;br&gt;
&lt;br&gt;
Thanks in anticipation well in advance.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Mohammed Idrees&lt;br&gt;
&lt;/div&gt;</description><author>maidrees</author><pubDate>Mon, 18 Aug 2008 10:59:09 GMT</pubDate><guid isPermaLink="false">New Post: Working with Events of Popup  XAML 20080818105909A</guid></item><item><title>New Post: attaching to events in a Shape Description</title><link>http://www.codeplex.com/views/Thread/View.aspx?ThreadId=31235</link><description>&lt;div style="line-height: normal;"&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;a name="_MailEndCompose"&gt;&lt;span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"&gt;I replied to you in the discussion
list. Please use that forum for your questions.&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"&gt; &lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"&gt;Thanks,&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;p class=MsoNormal&gt;&lt;span style="font-size:16.0pt;font-family:'Agency FB','sans-serif';color:black"&gt;Jared Bienz&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style="font-size:8.0pt;font-family:'Arial','sans-serif';color:navy"&gt;ISV Architect Evangelist&lt;/span&gt;&lt;span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style="font-size:10.0pt;font-family:'Calibri','sans-serif';color:navy"&gt;Microsoft Corporation&lt;/span&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;span style="font-size:10.0pt;font-family:'Calibri','sans-serif';color:navy"&gt;E-Mail: &lt;/span&gt;&lt;a href="mailto:jbienz@microsoft.com"&gt;&lt;b&gt;&lt;span style="font-size:10.0pt"&gt;jbienz@microsoft.com&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:'Calibri','sans-serif';color:gray"&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;a href="http://blogs.msdn.com/jbienz"&gt;&lt;span style="font-size:10.0pt"&gt;Blog&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:10.0pt;font-family:'Tahoma','sans-serif';color:blue"&gt; &lt;/span&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:'Calibri','sans-serif';color:gray"&gt;| &lt;/span&gt;&lt;/b&gt;&lt;a&gt;&lt;span style="font-size:10.0pt;font-family:'Calibri','sans-serif'"&gt;Calendar&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:10.0pt;font-family:'Calibri','sans-serif';color:gray"&gt; &lt;b&gt;| &lt;/b&gt;&lt;/span&gt;&lt;a href="http://blogs.msdn.com/usisvde"&gt;&lt;span style="font-size:10.0pt"&gt;Team Blog&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:10.0pt;font-family:'Tahoma','sans-serif';color:blue"&gt; &lt;/span&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:'Calibri','sans-serif';color:gray"&gt;|&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt;font-family:'Tahoma','sans-serif';color:blue"&gt; &lt;/span&gt;&lt;a href="http://channel9.msdn.com/Niners/jbienz/" title="http://www.msdnevents.com/west"&gt;&lt;span style="font-size:10.0pt"&gt;Screencasts&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"&gt;&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;span style="font-size:11.0pt;font-family:'Calibri','sans-serif';color:#1F497D"&gt; &lt;/span&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"&gt;From:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size:10.0pt;font-family:'Tahoma','sans-serif'"&gt; maidrees
[mailto:notifications@codeplex.com] &lt;br&gt;
&lt;b&gt;Sent:&lt;/b&gt; Tuesday, August 05, 2008 5:06 PM&lt;br&gt;
&lt;b&gt;To:&lt;/b&gt; Jared Bienz&lt;br&gt;
&lt;b&gt;Subject:&lt;/b&gt; Re: attaching to events in a Shape Description [views:31235]&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt; &lt;/p&gt;

&lt;p&gt;&lt;span style="font-size:9.0pt;font-family:'Verdana','sans-serif'"&gt;From:
maidrees&lt;/span&gt;&lt;/p&gt;

&lt;div style="margin-bottom:24.0pt" id=ThreadNotificationPostBody&gt;

&lt;p class=MsoNormal&gt;&lt;span style="font-size:9.0pt;font-family:'Verdana','sans-serif'"&gt;Thanks
Jared for redirecting me to the right place to have another discussion
regarding the popup display.&lt;br&gt;
&lt;br&gt;
However, I am not yet clear as how we can call the managed code method as event
from shape Description Popup links.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
Mohammed Idrees&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;div style="border:none;border-top:solid #CCCCCC 1.0pt;padding:0in 0in 0in 0in" id=ThreadNotificationFooter&gt;

&lt;p&gt;&lt;span style="font-size:9.0pt;font-family:'Verdana','sans-serif';color:gray"&gt;Read
the &lt;a href="http://www.codeplex.com/views/Thread/View.aspx?ThreadId=31235&amp;ANCHOR#Post109148"&gt;full
discussion online&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size:9.0pt;font-family:'Verdana','sans-serif';color:gray"&gt;To
add a post to this discussion, reply to this email (&lt;a href="mailto:views@discussions.codeplex.com?subject=[views:31235]"&gt;views@discussions.codeplex.com&lt;/a&gt;)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size:9.0pt;font-family:'Verdana','sans-serif';color:gray"&gt;To
start a new discussion for this project, email &lt;a href="mailto:views@discussions.codeplex.com"&gt;views@discussions.codeplex.com&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size:9.0pt;font-family:'Verdana','sans-serif';color:gray"&gt;You
are receiving this email because you subscribed to this discussion on CodePlex.
You can &lt;a href="http://www.codeplex.com/site/discussions/thread/unsubscribe/31235"&gt;unsubscribe&lt;/a&gt;
on codePlex.com.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style="font-size:9.0pt;font-family:'Verdana','sans-serif';color:gray"&gt;Please
note: Images and attachments will be removed from emails. Any posts to this
discussion will also be available online at codeplex.com&lt;/span&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/div&gt;

&lt;/div&gt;</description><author>jaredbienz</author><pubDate>Wed, 06 Aug 2008 16:21:27 GMT</pubDate><guid isPermaLink="false">New Post: attaching to events in a Shape Description 20080806042127P</guid></item></channel></rss>