<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6529466735108114590</id><updated>2024-09-08T08:15:10.036-07:00</updated><category term="Globalization LeapYears HebrewCalendar"/><category term="Gotcha"/><category term="Gotcha Radio Button groups"/><category term="Sprint WindowsPhone7 HTC"/><category term="Support Globalization Phone Silverlight"/><category term="Testing Trial mode Debugging Marketplace"/><category term="debug emulator deploy run startup"/><category term="debug error isTrial IsolatedStorage"/><category term="location capabilities copyright capdetect"/><title type='text'>Notes on Windows Phone 7 Development</title><subtitle type='html'>My trials and tribulations writing Windows Phone 7 Apps.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-2474415915385336244</id><published>2011-10-18T15:25:00.000-07:00</published><updated>2011-10-18T15:25:09.775-07:00</updated><title type='text'>Forced Mango Update</title><content type='html'>I was waiting and waiting for my Mango update, I even contacted Sprint. &amp;nbsp;Unfortunately Sprint is not set up for effective customer support, this is the topic for another post (Will Sprint support their new Apple customers effectively?). &amp;nbsp;I called twice, visited my local Sprint store numerous times, until I got to the root of the issue, &quot;they&quot; were releasing the updates in batches, the Sprint store alluded to Sprint as the culprit, but according to the Internet it&#39;s Microsoft that is releasing the updates. &amp;nbsp;Microsoft has a very valid reason for holding off on the release, &quot;Quality&quot;, they need to make sure the updates are going well before releasing them to all (and potentially having a deluge of problems to deal with).&lt;br /&gt;
&lt;br /&gt;
I saw&amp;nbsp;references&amp;nbsp;to forcing the Mango update on the Internet, and tried one way which did not work. &amp;nbsp;Switching the update settings on the phone on and off multiple times, did not work for me. &amp;nbsp;I then found a YouTube video explaining another way, which did work. &amp;nbsp;The instructions are here:&amp;nbsp;&lt;a href=&quot;http://youtu.be/bO0ZnoKXyqY&quot; rel=&quot;nofollow&quot; style=&quot;background-color: white; color: #0066cc; font-family: &#39;Segoe UI&#39;, Arial, Verdana, Helvetica, sans-serif; font-size: 14px; line-height: 21px; outline-color: initial; outline-style: none; outline-width: initial; text-align: left;&quot; target=&quot;_new&quot;&gt;http://youtu.be/bO0ZnoKXyqY&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #333333; font-family: &#39;Segoe UI&#39;, Arial, Verdana, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 15px; line-height: 21px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;and I found the link in this conversation:&amp;nbsp;&lt;a href=&quot;http://windowsteamblog.com/windows_phone/b/windowsphone/archive/2011/10/03/windows-phone-7-5-update-status.aspx&quot;&gt;http://windowsteamblog.com/windows_phone/b/windowsphone/archive/2011/10/03/windows-phone-7-5-update-status.aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The update took a while and seemed to be hung on the last Phone restart, I ended up powering it down, and powering it back up, even though my PC screen said not to. :-)&lt;br /&gt;
&lt;br /&gt;
It&#39;s working now, and I am happy. &lt;br /&gt;
&lt;br /&gt;
The Sprint lesson I learned is to ask detailed questions to the techs and to ask them if they are an expert on my phone, I had one admit to me he was an Android Tech and was told by management not to pass off windows calls to Windows Techs but to try and fix it on his own.</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/2474415915385336244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2011/10/forced-mango-update.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/2474415915385336244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/2474415915385336244'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2011/10/forced-mango-update.html' title='Forced Mango Update'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-3250384100441908548</id><published>2010-12-07T21:00:00.000-08:00</published><updated>2010-12-20T12:03:51.517-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="location capabilities copyright capdetect"/><title type='text'>Capabilities - Removing Networking and Location Capabilities</title><content type='html'>Well, well, well.... I&#39;ve learnt my lesson again. &amp;nbsp;Don&#39;t use something you do not know well. &amp;nbsp;I was using the copyright object/thingamagig and did not understand what it did and what it&#39;s purpose was, but I felt I should insert my copyright in my app, so I used it.&lt;br /&gt;
&lt;br /&gt;
Well it looks like it was the culprit causing my app to have a Location and Networking Capability, when my app did not have a need for either.&lt;br /&gt;
&lt;br /&gt;
I found this by taking a two headed approach.&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;I built a Hello world application, checking on the capabilities at each step.&lt;/li&gt;
&lt;ol&gt;&lt;li&gt;Using the new Capabilities detection tool&lt;/li&gt;
&lt;ol&gt;&lt;li&gt;On my Vista 64 machine it was found here after installing it:&amp;nbsp;C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Tools\CapDetect&lt;/li&gt;
&lt;li&gt;In a Command window (Dos Window)&lt;/li&gt;
&lt;li&gt;goto the above directory&lt;/li&gt;
&lt;li&gt;And run the following&lt;/li&gt;
&lt;ol&gt;&lt;li&gt;CapabilityDetection.exe Rules.xml &amp;nbsp;&quot;C:\Users\David\Documents\Visual Studio 2010\Projects\HelloWorldWindowsPhoneApplication\HelloWorldWindowsPhoneApplication\Bin\Debug&quot;&lt;/li&gt;
&lt;/ol&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;li&gt;I removed&amp;nbsp;unnecessary&amp;nbsp;items from the working app one by one to find running the above tool to see what the&amp;nbsp;culprit&amp;nbsp;was.&lt;/li&gt;
&lt;/ol&gt;&lt;br /&gt;
Microsoft&#39;s&amp;nbsp;instructions can be found here:&amp;nbsp;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/gg180730(VS.92).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/gg180730(VS.92).aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I think Capabilities is a mis-nomer. &amp;nbsp;In my case and I think most cases we would want our apps to have the minimum amount of&amp;nbsp;capabilities&amp;nbsp;our apps require. &amp;nbsp;Why would a user want to buy/download an app that has a location requirement, that does not have a&amp;nbsp;perceived&amp;nbsp;need for it, a user would have privacy concerns.&lt;br /&gt;
&lt;br /&gt;
Now I need to resubmit my apps.</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/3250384100441908548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/12/capabilities-removing-networking-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/3250384100441908548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/3250384100441908548'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/12/capabilities-removing-networking-and.html' title='Capabilities - Removing Networking and Location Capabilities'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-5269909089153713126</id><published>2010-11-24T18:25:00.000-08:00</published><updated>2010-11-24T18:25:59.814-08:00</updated><title type='text'>Setting the background image for an app</title><content type='html'>For a simple Windows Phone app in the MainPage.xaml file add this line right after the opening to the Grid definition:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;Grid.Background&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;ImageBrush ImageSource=&quot;your Background file here.png&quot;/&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/Grid.Background&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Note: The background.png file is not for the app it is for the Tile when your app gets pinned to the Start Screen, and it should be 173X173.&amp;nbsp;&lt;/i&gt;</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/5269909089153713126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/setting-background-image-for-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/5269909089153713126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/5269909089153713126'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/setting-background-image-for-app.html' title='Setting the background image for an app'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-1980605783924934084</id><published>2010-11-24T10:51:00.000-08:00</published><updated>2010-12-22T09:25:02.135-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Sprint WindowsPhone7 HTC"/><title type='text'>Is Sprint releasing Windows Phone 7 phones?</title><content type='html'>According to the Sprint Customer rep I talked to this morning, Sprint already has a Windows Phone 7 on the market. &amp;nbsp;when I had a chance to look it up online, I found they had a Windows Phone, just not a Windows 7 Phone, it was Windows Mobile 6.1, it was the&amp;nbsp;HTC Touch Pro 2.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://shop.sprint.com/NASApp/onlinestore/en/Action/DisplayPhones?phoneSKU=PPCT7380SP&quot;&gt;http://shop.sprint.com/NASApp/onlinestore/en/Action/DisplayPhones?phoneSKU=PPCT7380SP&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
A chat with a sprint.com person, said check back next week. &amp;nbsp;I just did a&amp;nbsp;Google&amp;nbsp;search and found this:&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, serif; font-size: 15.8333px;&quot;&gt;&lt;a href=&quot;http://www.pcmag.com/article2/0,2817,2370604,00.asp&quot;&gt;HTC 7 Pro, Sprint&#39;s Windows Phone 7: Hands On | News &amp;amp; Opinion | PCMag.com&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Looks like it&#39;s coming soon, don&#39;t know about everything working in landscape mode though. &amp;nbsp;The phone in question is set up to work well in landscape mode when in the open position, see the article for more details.&lt;br /&gt;
&lt;br /&gt;
Last I heard it was in their lab and we should expect it second quarter 2011!</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/1980605783924934084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/is-sprint-releasing-windows-phone-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/1980605783924934084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/1980605783924934084'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/is-sprint-releasing-windows-phone-7.html' title='Is Sprint releasing Windows Phone 7 phones?'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-8286069493180171083</id><published>2010-11-24T03:23:00.000-08:00</published><updated>2010-11-24T08:31:23.565-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debug emulator deploy run startup"/><title type='text'>Windows Phone 7 app build and deploys but does not run</title><content type='html'>&lt;ul&gt;&lt;li&gt;I could not get the app to run on the phone or in the emulator&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;It built and deployed with no errors&lt;/li&gt;
&lt;li&gt;Cause: I changed the project name, and the startup App was now blank&lt;/li&gt;
&lt;li&gt;Solution:&amp;nbsp;Make sure to change the Startup Object on the Properties page of the Application&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/8286069493180171083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/things-to-watch-out-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/8286069493180171083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/8286069493180171083'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/things-to-watch-out-for.html' title='Windows Phone 7 app build and deploys but does not run'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-7785896024275654450</id><published>2010-11-18T17:47:00.000-08:00</published><updated>2010-11-18T17:47:46.351-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Testing Trial mode Debugging Marketplace"/><title type='text'>Always retest in Trial mode</title><content type='html'>I released my first paid application to the Marketplace!&lt;br /&gt;
&lt;br /&gt;
I decided to download it in trial version to see it running, the first thing I noticed was the trial version did not run well, as the trial version does not work with the default settings, oh well back to the drawing board, and back through the whole process to get it back into the Marketplace...</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/7785896024275654450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/always-retest-in-trial-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/7785896024275654450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/7785896024275654450'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/always-retest-in-trial-mode.html' title='Always retest in Trial mode'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-5062174653609677823</id><published>2010-11-08T07:28:00.000-08:00</published><updated>2010-11-18T18:01:52.775-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="debug error isTrial IsolatedStorage"/><title type='text'>Debugging without the Debugger</title><content type='html'>I had a problem, my app worked well in the debugger, when I submitted it to the Marketplace it failed as it would not run on the phone. &amp;nbsp;I then tried to deploy it to the phone emulator, and it did not run there either.&lt;br /&gt;
&lt;br /&gt;
I then figured I should rebuild the App piece by piece and check each step to see if it deployed and ran on the emulator. &amp;nbsp;I then found the method (function) that caused the trouble.&lt;br /&gt;
&lt;br /&gt;
I put a trial mode in my app, and tested by faking a trial mode with a settings object saved in IsolatedStorageSettings. &amp;nbsp;My problem was I was storing the setting in Isolated Storage with a guard clause checking for the debugger (not deployed), when I did the test in the code I did not include the debugger guard clause. &amp;nbsp;So when running in the Debugger everything worked, when deployed it crashed on trying to get the isTrial setting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IsTrial blog entry by a&amp;nbsp;Microsoft&amp;nbsp;Phone &quot;evangelist&quot;, Jeff&#39;s 31 days of Windows phone is an excellent introduction to writing apps for the Windows Phone.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.jeffblankenburg.com/post/31-Days-of-Windows-Phone-7c-Day-23-Providing-Trial-Versions-of-Your-App.aspx&quot;&gt;http://www.jeffblankenburg.com/post/31-Days-of-Windows-Phone-7c-Day-23-Providing-Trial-Versions-of-Your-App.aspx&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/5062174653609677823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/debugging-without-debugger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/5062174653609677823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/5062174653609677823'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/debugging-without-debugger.html' title='Debugging without the Debugger'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-6354458831019695534</id><published>2010-11-04T19:39:00.000-07:00</published><updated>2010-11-04T19:39:19.983-07:00</updated><title type='text'>Regenerating a .XAP file</title><content type='html'>XAP files are used to submit applications to the Windows Phone Marketplace.&lt;br /&gt;
&lt;br /&gt;
Story&lt;br /&gt;
I was trying to submit an app to the marketplace and kept on getting the same error, no matter how many times I rebuilt the solution and deployed the solution.&lt;br /&gt;
&lt;br /&gt;
The XAP file is located in the &amp;lt;project&amp;gt;\bin\debug directory.&lt;br /&gt;
&lt;br /&gt;
The timestamp on the file was not changing....&lt;br /&gt;
&lt;br /&gt;
I do not know why, the documentation may have been pushing me towards it. &amp;nbsp;I opened Expression Builder and rebuilt the project (under the tools menu), and this rebuilt the XAP file.&lt;br /&gt;
&lt;br /&gt;
I haven&#39;t spent much time using Expression Builder yet, I need to visit it when I make my app perform well under both orientations.</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/6354458831019695534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/regenerating-xap-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/6354458831019695534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/6354458831019695534'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/11/regenerating-xap-file.html' title='Regenerating a .XAP file'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-8939386568762521368</id><published>2010-10-29T11:14:00.000-07:00</published><updated>2010-10-29T11:14:05.149-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Support Globalization Phone Silverlight"/><title type='text'></title><content type='html'>What does this mean? &amp;nbsp;Is the class supported on Windows Phone? &amp;nbsp;Am I just not reading it right?&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.globalization.hebrewcalendar(VS.95).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/system.globalization.hebrewcalendar(VS.95).aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;LW_CollapsibleArea_Container&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 16px;&quot; xmlns=&quot;&quot;&gt;&lt;h3 class=&quot;subHeading&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-weight: bold;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;Platform Notes&lt;/h3&gt;&lt;div class=&quot;subsection&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;label&quot; style=&quot;font-weight: bold;&quot;&gt;Silverlight for Windows Phone:&lt;/span&gt;&lt;/div&gt;This type is present but is not supported on Windows Phone.&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;LW_CollapsibleArea_Container&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 16px;&quot; xmlns=&quot;&quot;&gt;&lt;div class=&quot;LW_CollapsibleArea_TitleDiv&quot; style=&quot;margin-bottom: 19px; margin-top: 19px;&quot;&gt;&lt;span class=&quot;LW_CollapsibleArea_Title&quot; style=&quot;color: #3f529c; float: left; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.538em; font-weight: bold;&quot;&gt;Version Information&lt;/span&gt;&lt;div class=&quot;LW_CollapsibleArea_HrDiv&quot; style=&quot;padding-top: 12px;&quot;&gt;&lt;hr class=&quot;LW_CollapsibleArea_Hr&quot; style=&quot;border-bottom-color: rgb(229, 229, 229); border-bottom-style: solid; border-bottom-width: 1px; border-left-color: initial; border-left-style: none; border-left-width: initial; border-right-color: initial; border-right-style: none; border-right-width: initial; border-top-color: initial; border-top-style: none; border-top-width: initial; color: #e5e5e5; margin-left: 4px;&quot; /&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=&quot;&quot; id=&quot;versionsTitleToggle&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;/a&gt;&lt;h4 class=&quot;subHeading&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1em; font-weight: bold;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;Silverlight&lt;/h4&gt;Supported in: 4, 3&lt;br xmlns=&quot;http://www.w3.org/1999/xhtml&quot; /&gt;&lt;h4 class=&quot;subHeading&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1em; font-weight: bold;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;Silverlight for Windows Phone&lt;/h4&gt;Supported in: Windows Phone OS 7.0&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/8939386568762521368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/what-does-this-mean-class-supported-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/8939386568762521368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/8939386568762521368'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/what-does-this-mean-class-supported-on.html' title=''/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-9196570964766935273</id><published>2010-10-29T11:10:00.000-07:00</published><updated>2010-10-31T10:03:09.668-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Globalization LeapYears HebrewCalendar"/><title type='text'>HebrewCalendar on Windows Phone 7 - Gotcha in leap years</title><content type='html'>Try converting a hebrew calendar date in Elul in a leap year using this code:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DateTime myDateTime = new DateTime(1995, 9, 1);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;DateTime returnDateTime;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HebrewCalendar hebrewCalendar = new HebrewCalendar();&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int jyear;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int jmonth;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;int jday;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;jyear = hebrewCalendar.GetYear(myDateTime);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;jmonth = hebrewCalendar.GetMonth(myDateTime);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;jday = hebrewCalendar.GetDayOfMonth(myDateTime);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;returnDateTime = hebrewCalendar.ToDateTime(5767, jmonth, jday, 0, 0, 0, 0);&lt;br /&gt;
&lt;br /&gt;
This will cause an error as 5767 is not a leap year and there are only 12 months in a non leap year, and jmonth is 13 in the code above.&lt;br /&gt;
&lt;br /&gt;
(Elul is month 12 in non leap years and month 13 in leap years).&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
If&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt; the beginning year is a leap year and the end year is not a leap year&lt;/span&gt;&lt;br /&gt;
and &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;the month index is greater than 7 //Adar II&lt;/span&gt;&lt;br /&gt;
then &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;move the month back one&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
If &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;the beginning year is not a leap year&lt;/span&gt; and &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;the end year is a leap year&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
and&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;the month index is greater than 7 //Adar II&lt;/span&gt;&lt;br /&gt;
then &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;move the month forward one&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bool isLeap1 = hebCal.IsLeapYear(hYear);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bool isLeap2 = hebCal.IsLeapYear(year);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((isLeap1 &amp;amp; !isLeap2) &amp;amp; hMonth &amp;gt; 7)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{ hMonth--; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((!isLeap1 &amp;amp; isLeap2) &amp;amp; hMonth &amp;gt; 7)&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { hMonth++; }&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;LW_CollapsibleArea_Container&quot; style=&quot;font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 16px;&quot; xmlns=&quot;&quot;&gt;&lt;h3 class=&quot;subHeading&quot; style=&quot;color: #3f529c; font-family: &#39;Segoe UI&#39;, Verdana, Arial; font-size: 1.077em; font-weight: bold;&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;br /&gt;
&lt;/h3&gt;&lt;/div&gt;&lt;br /&gt;
Links:&lt;br /&gt;
&lt;a href=&quot;http://www.hebcal.com/converter/?hd=11&amp;amp;hm=Elul&amp;amp;hy=5771&amp;amp;h2g=Convert+Hebrew+to+Gregorian+date&quot;&gt;http://www.hebcal.com/converter/?hd=11&amp;amp;hm=Elul&amp;amp;hy=5771&amp;amp;h2g=Convert+Hebrew+to+Gregorian+date&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/system.globalization.hebrewcalendar(VS.95).aspx&quot;&gt;http://msdn.microsoft.com/en-us/library/system.globalization.hebrewcalendar(VS.95).aspx&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This is a good right up with some examples on the HebrewDate class in C#.&lt;br /&gt;
&lt;a href=&quot;http://www.ziporah-greve.net/prog/jewish-csharp.html&quot;&gt;http://www.ziporah-greve.net/prog/jewish-csharp.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Side note:&lt;br /&gt;
This became much clearer to me when I had to create example code from my code.</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/9196570964766935273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/hebrewcalendar-on-windows-phone-7.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/9196570964766935273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/9196570964766935273'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/hebrewcalendar-on-windows-phone-7.html' title='HebrewCalendar on Windows Phone 7 - Gotcha in leap years'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-6104617351804041249</id><published>2010-10-27T12:22:00.000-07:00</published><updated>2010-10-27T12:22:48.258-07:00</updated><title type='text'>DateTime picker?</title><content type='html'>The DateTime picker is not in the original developer toolkit, but it is in a new download.&lt;br /&gt;
&lt;br /&gt;
Silverlight for Windows Phone Toolkit - Sept 2010&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 11px;&quot;&gt;&lt;a href=&quot;http://silverlight.codeplex.com/releases/view/52297&quot; style=&quot;color: #0000cc;&quot; target=&quot;_blank&quot;&gt;http://silverlight.&lt;wbr&gt;&lt;/wbr&gt;codeplex.com/releases/view/&lt;wbr&gt;&lt;/wbr&gt;52297&lt;/a&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 11px;&quot;&gt;?&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 11px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/6104617351804041249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/datetime-picker.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/6104617351804041249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/6104617351804041249'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/datetime-picker.html' title='DateTime picker?'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-872498357783902284</id><published>2010-10-27T12:10:00.000-07:00</published><updated>2010-10-27T12:12:39.396-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Gotcha"/><title type='text'>Phone Emulator orientation and keyboard input</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 11px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;When using the phone emulator with the PC keyboard the&amp;nbsp;&lt;span class=&quot;il&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial;&quot;&gt;Orientation&lt;/span&gt;&amp;nbsp;of the app does not change.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 11px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 13px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;border-collapse: collapse; font-family: arial, sans-serif; font-size: 11px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/872498357783902284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/phone-emulator-orientation-and-keyboard.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/872498357783902284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/872498357783902284'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/phone-emulator-orientation-and-keyboard.html' title='Phone Emulator orientation and keyboard input'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6529466735108114590.post-5561891336266828783</id><published>2010-10-27T12:07:00.000-07:00</published><updated>2010-12-23T16:16:05.909-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Gotcha Radio Button groups"/><title type='text'>Radio Button groups</title><content type='html'>&lt;ul&gt;&lt;li&gt;There is no Tab Group box in the toolbox&lt;/li&gt;
&lt;ul&gt;&lt;li&gt;Solution: use GroupName in the .xaml file&lt;/li&gt;
&lt;li&gt;eg.&lt;/li&gt;
&lt;/ul&gt;&lt;/ul&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;RadioButton Content=&quot;Male&quot; Height=&quot;72&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;293,102,0,0&quot; Name=&quot;maleRadioButton&quot; VerticalAlignment=&quot;Top&quot; Checked=&quot;maleRadioButton_Checked&quot;&lt;br /&gt;
&lt;div&gt;&lt;div&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; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;GroupName=&quot;MyRadioBtnGroup&quot;&lt;/span&gt;/&amp;gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;RadioButton Content=&quot;Female&quot; Height=&quot;72&quot; HorizontalAlignment=&quot;Left&quot; Margin=&quot;292,177,0,0&quot; Name=&quot;femaleRadioButton&quot; VerticalAlignment=&quot;Top&quot; Checked=&quot;femaleRadioButton_Checked&quot;&amp;nbsp;&lt;/div&gt;&lt;div&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; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;GroupName=&quot;MyRadioBtnGroup&quot;&lt;/span&gt;/&amp;gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
The&amp;nbsp;traditional&amp;nbsp;way of dealing with multiple radio buttons, with &quot;one checked&quot; behaviour, is to put the Radio Buttons in a group box. &amp;nbsp;The Toolbox in the Windows Phone 7 Toolkit does not have a group box.&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;I found the solution here:&amp;nbsp;&lt;a href=&quot;http://social.msdn.microsoft.com/Forums/en/windowsphone7series/thread/89cf0ad0-e4bd-4baf-9532-157c30f3fd81&quot;&gt;http://social.msdn.microsoft.com/Forums/en/windowsphone7series/thread/89cf0ad0-e4bd-4baf-9532-157c30f3fd81&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;I was trying to do it programatically, and could not find a simple way to programatically set the state of the Radio Button, trying to use SetValue required a DependencyProperty...&lt;br /&gt;
&lt;br /&gt;
&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=pc028-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=1430232161&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://windowsphone7devnotes.blogspot.com/feeds/5561891336266828783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/gotchas-radio-button-groups.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/5561891336266828783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6529466735108114590/posts/default/5561891336266828783'/><link rel='alternate' type='text/html' href='http://windowsphone7devnotes.blogspot.com/2010/10/gotchas-radio-button-groups.html' title='Radio Button groups'/><author><name>Microsoft Word 365 Tips</name><uri>http://www.blogger.com/profile/18148931882640461750</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>