Wednesday, February 26, 2014

HyperlinkButton crash on Windows Phone

Ready to give up on HyperlinkButton?  Getting a crash when you try to navigate to the link?  The fix is stupid simple (and just plain stupid!).  On Windows Phone, the TargetName property is required.  If it's not set, you'll crash and burn.  Set it to _blank and you'll be happy!  I dug around and found it on the MSDN page, but didn't see any other posts about it so maybe this will help someone else!

No comments:

Post a Comment