SilverlightShow: Silverlight LinkLabel control Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Silverlight LinkLabel control <p>Hi Jacky! Nice site, I must use translator but you have very useful informations!</p> <p>I also want t invite you tomy blog about <a href="http://community.ashworthcollege.edu/blogs/windowsphone7/2011/07/07/windows-8">Windows 7 phone </a></p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment6323 AndrzejAndrzejewski http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 07 Jul 2011 12:18:06 GMT RE: Silverlight LinkLabel control <p>Grat article! I also sometimes write about silver light and <a href="http://wp-7.pl/">windows phone</a>,  if you want just follow my site:)</p> <p>Greetings.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment6229 Jacky http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Sun, 29 May 2011 19:57:23 GMT RE: Silverlight LinkLabel control <p>Thanks for the surprisingly quick response :)<br /> That sounds great, but sadly I don't actually know how to rebuild the project for wp7.<br /> <br /> I'm just about managing to get by with the little coding knowledge I have & binging everything I don't know :P</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment6145 CrisRowlands http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 16 May 2011 12:15:01 GMT RE: Silverlight LinkLabel control <p>Hi Cris,</p> <p>Yes, it is possible to such this control on WP7 too. I think you will only have to build the project for WP7 and it should work. If not - the source code is available on CodePlex so you can make the required changes. If you want to contribute to the project - let me know.</p> <p>Emil</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment6144 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 16 May 2011 11:43:09 GMT RE: Silverlight LinkLabel control <p>Hiya, Im just wondering if something like this could be altered or created to work with silverlight for WindowsPhone?<br /> <br /> Im currently working on updating the 1800PocketPC.com app, making my own html parser which converts articles into a more 'mobile friendly' view. Having something like this that worked in wp7 apps would be a godsend.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment6143 CrisRowlands http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 16 May 2011 11:35:56 GMT RE: Silverlight LinkLabel control <em><span style="font-size: 11pt; line-height: 115%; font-family: calibri, sans-serif;">The article has been updated to the latest version of Silverlight and Visual Studio.</span></em> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment5586 lnikolov http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Fri, 25 Feb 2011 18:12:24 GMT RE: Silverlight LinkLabel control <p>Thanks for the sample. I was looking for a complete example for DependencyProperty and this was really nice! Modified it to run without a browser and upgraded the code for SL4. Thanks!!</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment5561 Jake http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 22 Feb 2011 22:10:42 GMT RE: Silverlight LinkLabel control How about Silverlight 4? http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment4860 Robert http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 15 Nov 2010 15:45:05 GMT RE: Silverlight LinkLabel control Best post ever about URL in text on Silverlight. Probably I will use it on my page <a href="http://www.clever-software.net/App/CleverNotes" target="_blank">Clever Notes</a> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment4563 biper4x4 http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Sat, 25 Sep 2010 20:14:08 GMT RE: Silverlight LinkLabel control <p>can any one please tell me why does it not create the hyperlink of middle link when i pass this string to LinkLabel Control?</p> <p><em>note: the middle link's text and action is changed, if i keep all the links with same text and action, it works, but when i change the text or action of middle link, it does not convert it to hyperlink.</em></p> <p> <div style="border: 1px solid #7f9db9; overflow-y: auto;" class="reCodeBlock"> <div style="background-color: #ffffff;"> <div style="border: 1px solid #7f9db9; overflow-y: auto;" class="reCodeBlock"> <div style="background-color: #ffffff;"><span style="margin-left: 0px ! important;"><code style="color: #000000;">[link="google"]google[/link] [link="googlez"]googlez[/link] [link="google"]google[/link]</code></span></div> </div> </div> </div> </p> <p>any help please???</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment3076 Zain Shaikh http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Fri, 12 Feb 2010 20:49:38 GMT RE: Silverlight LinkLabel control SilverLight 3 update<br /> <br /> The WrapPanel makes the problem.<br /> To solve the problem:<br /> <br /> LinkLabel class library:<br /> Remove reference for Microsoft.Windows.Controls <br /> and add reference to System.Windows.Controls.Toolkit instead.<br /> <br /> LinkLabel.cs<br /> Remove using Microsoft.Windows.Controls;<br /> <br /> Themes/generic.xaml<br /> Add<br /> xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" <br /> instead of<br /> xmlns:controls="clr-namespace:Microsoft.Windows.Controls;assembly=Microsoft.Windows.Controls"<br /> <br /> Compile and use the new LinkLabel.dll in Silverlight 3 http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment2893 Zsolt Hever http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 11 Jan 2010 01:03:39 GMT RE: Silverlight LinkLabel control Greatest instructions for usage of SilverLight. <p><a href="http://www.eluneart.com/web-design-services.php">Web design services</a></p> <br /> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment2855 Ben Hurtisson http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 29 Dec 2009 13:34:45 GMT RE: Silverlight LinkLabel control WarNov, I'll take a look at it today. I guess you are talking about Silverlight 3, right?<div>I'll see whether there are some compatibility issues and fix them.</div> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment2206 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 05 Aug 2009 09:47:56 GMT RE: Silverlight LinkLabel control Is there any Silverlight Updated Version? http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment2205 WarNov http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 05 Aug 2009 06:20:09 GMT RE: Silverlight LinkLabel control <p>Well. Now Im not agry anymore, so Im going to describe well my situation: </p> <ol> <li>I've first downloaded the sample+dll. The compiled xap, worked perfectly. </li> <li>Downloaded sources, but when compiling LinkLabel, had 2 errors: <ol> <li>Wrap not found </li> <li>Windows.Controls not found <ol> <li>Then read the annotations and: </li> </ol> </li> </ol> </li> <li>Installed last version of Codeplex Silverlight Toolkit </li> <li>Referencied System.Windows.Controls.Toolkit </li> <li>Deleted the un-working reference </li> <li>Rebuild, run and: An unhandled exception of type 'System.OutOfMemoryException' occurred in Unknown ModuleCreated a fresh new project </li> <li>Added the just Buil LinkLabel.dll </li> <li>Build, run and: InvalidOperationException </li> <li>Replaced my built LinkLabel.dll with the one available in codeplex: </li> <li>Build and: Could not load file or assembly 'Microsoft.Windows.Controls, Version=2.0.21027.1502, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. </li> </ol> <p> Please somebody help me. I've spent a complete day trying to make this work. I would like to have the eaxct project source for the xap download tab in codeplex, because when running that web project it worked very fine. Any other advice will be very welcome. Thanks a lot.</p> <p><a shape="rect" href="mailto:warnov@gmail.com" shape="rect">warnov@gmail.com</a>. <a shape="rect" href="http://warnov.com/" shape="rect">http://warnov.com/</a></p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1717 warnov http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 29 Jun 2009 02:01:28 GMT RE: Silverlight LinkLabel control Does somebody have a complete working example? I couldn't get codeplex sources work fine. I don't know why they don't just publish a single rar with everythig working :S. The "last" sources throwme out of memory exception http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1712 WarNov http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Sun, 28 Jun 2009 21:39:08 GMT RE: Silverlight LinkLabel control Hi. I hace Slverlight 2 Relases in my browser. But when I Compiled the sample project, the resulting page suggests me to download silverlight. Why is that? Is this for SL 3? http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1709 WarNov http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Sun, 28 Jun 2009 19:03:45 GMT RE: Silverlight LinkLabel control Hi Angelo,<div><br /></div><div>you can use LinkStyle property to define the font style like this:</div><div><span><div style="overflow-x: auto; overflow-y: auto; background-color: white; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-color: rgb(127, 157, 185); border-right-color: rgb(127, 157, 185); border-bottom-color: rgb(127, 157, 185); border-left-color: rgb(127, 157, 185); line-height: 100% !important; font-family: 'courier new'; font-size: 11px; "><table cellpadding="0" cellspacing="0" style="width: 99%; margin-top: 2px; margin-right: 0px; margin-bottom: 2px; margin-left: 0px; border-collapse: collapse; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); background-color: rgb(255, 255, 255); border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; "> <col style="font-family: 'courier new'; font-size: 11px; padding-left: 10px; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(247, 247, 247); white-space: nowrap; " /> <tbody> <tr> <td><span style="font-size: 11px; "></span><span style="color: blue; "><</span><span style="font-size: 11px; ">Style x:</span><span style="color: red; ">Key</span><span style="font-size: 11px; ">=</span><span style="color: blue; ">"MyLinkStyle"</span><span style="font-size: 11px; "> </span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247); ">        <span style="color: red; ">TargetType</span><span style="font-size: 11px; ">=</span><span style="color: blue; ">"HyperlinkButton"</span><span style="font-size: 11px; ">> </span></td> </tr> <tr> <td>        <span style="color: blue; "><</span><span style="font-size: 11px; ">Setter </span><span style="color: red; ">Property</span><span style="font-size: 11px; ">=</span><span style="color: blue; ">"FontFamily"</span><span style="font-size: 11px; "> </span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247); ">                <span style="color: red; ">Value</span><span style="font-size: 11px; ">=</span><span style="color: blue; ">"Arial"</span><span style="font-size: 11px; "> </span><span style="color: blue; ">/></span><span style="font-size: 11px; "> </span></td> </tr> <tr> <td>        <span style="color: blue; "><</span><span style="font-size: 11px; ">Setter </span><span style="color: red; ">Property</span><span style="font-size: 11px; ">=</span><span style="color: blue; ">"FontSize"</span><span style="font-size: 11px; "> </span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247); ">                <span style="color: red; ">Value</span><span style="font-size: 11px; ">=</span><span style="color: blue; ">"14"</span><span style="font-size: 11px; "> </span><span style="color: blue; ">/></span><span style="font-size: 11px; "> </span></td> </tr> <tr> <td><span style="color: blue; "></</span><span style="font-size: 11px; ">Style</span><span style="color: blue; ">></span><span style="font-size: 11px; "> </span></td> </tr> </tbody></table></div></span><br /></div><div>Hope that helps.</div> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1642 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 04 Jun 2009 01:13:22 GMT RE: Silverlight LinkLabel control Please how can i change font style in Links ...? thank you again http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1634 Angelo Santos http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 03 Jun 2009 12:29:25 GMT RE: Silverlight LinkLabel control Can anyone tell me how can i change the Styles ? (links and text) ...thank you http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1590 Angelo Santos http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Fri, 22 May 2009 06:29:06 GMT RE: Silverlight LinkLabel control This version is the one that is uploaded on CodePlex. <a href="http://silverlightlinklabel.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=23383">http://silverlightlinklabel.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=23383</a><div>Get the Sample Project (<span><a href="http://silverlightlinklabel.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=23383#DownloadId=58875">http://silverlightlinklabel.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=23383#DownloadId=58875</a></span>)</div><div><br /></div> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1589 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 21 May 2009 10:21:53 GMT RE: Silverlight LinkLabel control <p>can anyone please put the version that is on this page please on line (<span style="color: #0000ff">http://www.silverlightshow.net/showcase/LinkLabelTest.xap</span>)... thats the only one that work with me :(<br /> could it be something from the debuger ? im trying through the debuger :( </p> <p>thanks <span style="color: #0000ff; font-size: 13px"> <p> </p> <p> </p> </span></p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1588 Angelo Santos http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 21 May 2009 08:53:20 GMT RE: Silverlight LinkLabel control no way :( ... javascript Error... and on aspx nothing happens and sometimes out of memory errors ... <br /> what i did was change to put this project working (11245)<br /> <span style="color: #0000ff; font-size: 13px"><span style="color: #0000ff; font-size: 13px"> <p>private WrapPanel <span style="font-size: 13px">layoutRoot;<br /> to</span><br /> private</p> </span> <p> </p> </span> <p><span style="font-size: 13px"> WrapPanel.</span><span style="color: #2b91af; font-size: 13px">WrapPanel</span><span style="font-size: 13px"> layoutRoot;</span></p> <p><span style="font-size: 13px">Deleted microsoft.windows.controls<br /> <br /> and put the System.Web.Silverlight.dll file in bin folder of the LinkLabelWeb Project and it compiled that way<br /> <br /> but when i run the test projects javascript error on LinkLabelTest and out of memory erros on the LinkLabelTestTestPage.aspx project  <br /> <br /> here are my SL versions <br /> <br /> Visual Studio 2008 SP1<br /> Silverlight plug in - 2.0.40115.0<br /> Silverlight 2 SDK - 2.0.31005.0<br /> <span style="font-size: 13px">Silverlight 2 SDK Toolkit March 2009- 2.0.30318.1329<br /> <span style="font-size: 13px">Silverlight Tools for visual studio 2008 SP1 - ENU -  9.0.30729.146</span></span></span></p> <p><span style="font-size: 13px"><span style="font-size: 13px">thank you for your patience :)<br /> </span><br /> <p> </p> </span></p> <p> </p> <p><span style="font-size: 13px"><br /> <br />  <br /> <p> </p> </span></p> <p> </p> <p><span style="font-size: 13px"><br /> <br /> <br />  </span></p> <p><span style="font-size: 13px">  <p> </p> </span></p> <p> </p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1587 Angelo Santos http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 21 May 2009 06:36:17 GMT RE: Silverlight LinkLabel control Did you download the latest source code from CodePlex? <a href="http://silverlightlinklabel.codeplex.com/SourceControl/changeset/view/11245">http://silverlightlinklabel.codeplex.com/SourceControl/changeset/view/11245</a><div><br /></div><div>I just did and it compiles without any problems. Be sure to use Silverlight 2. It is not tested on SL3.</div><div>Also if you are using the latest release of the Silverlight Toolkit then you must change the Microsoft.Windows.Controls reference to System.Windows.Controls.Toolkit in the LinkLabel project.</div> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1586 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 21 May 2009 01:48:23 GMT RE: Silverlight LinkLabel control Putting the <span style="font-size: 13px">LinkCollection method in my Project after adding all the necessary references.Is there something else that i must do after putting the imports and putting the references to both dlls  :(  ? <p>and also the "LinkLabel project " gives an error at compile time </p> <p>Error 2 'CompletIT.Windows.LinkClickEventArgs' does not contain a definition for 'Source' and no extension method 'Source' accepting a first argument of type 'CompletIT.Windows.LinkClickEventArgs' could be found (are you missing a using directive or an assembly reference?) D:\Documents and Settings\angelo.santos\Desktop\LinkLabel\LinkLabel\LinkLabel.cs 231 22 LinkLabel</p> <p>thank you for your response :)</p> <p> </p> <p> </p> </span> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1584 Angelo Santos http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 20 May 2009 11:58:32 GMT RE: Silverlight LinkLabel control Hi Angelo,<div><br /></div><div>What are you trying to do? How do you get this error?</div> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1583 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 20 May 2009 10:38:33 GMT RE: Silverlight LinkLabel control Error 1 'CompletIT.Windows.Controls.LinkLabelElements.LinkCollection' is inaccessible due to its protection level  anyone can help !? :( thank you http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1582 Angelo Santos http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 20 May 2009 10:05:37 GMT RE: Silverlight LinkLabel control <p>I'm having one more problem when use Expression Blend 3 preview.</p> <p>Seleced Link Label control and added to my page. After adding the control getting error "the element could not be displayed because of a problem with completIT.windows.controls.linklabel"</p> <p>Please help me to solve this problem.</p> <p> </p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1488 Rajan http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Sun, 19 Apr 2009 02:38:18 GMT RE: Silverlight LinkLabel control I have been unable to get this to work... Has anyone else run into problems? I have tried added the .dll as a resource to blend 2. When I use the control it throws an error. <br /> <br /> While trying to build the LinkLabel in VS2008 I get errors about WrapPanel?!?! Saying it is a namespace but is used like a type... <br /> <br /> I am new to silverlight and my coding skills are rusty so need a little extra hand holding here. http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1383 rollo http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 31 Mar 2009 17:48:15 GMT RE: Silverlight LinkLabel control Hi Brian,<div><br /></div><div>Just replied to your issue in CodePlex.</div> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1205 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 18 Mar 2009 06:09:02 GMT RE: Silverlight LinkLabel control codeplex is down so thought Id discuss and issue here. If you have a single line of text, with no links in, that is longer than the control the linklabel is a child of the text will not wrap.<br /> <br /> From looking at the source this is becuase if a single (with no links) string of text is displayed you just create a single textblock and add this to the wrap panel. Unfortunately this means it does not wrap for long lines of text.<br /> <br /> I have done a quick bodge in my code that splits the text into words and adds each as a textblock in the same way you do when there are links in the text but it needs some refactoring to not be a bodge.<br /> <br /> For uses like the I have, where I do not know if the text has links in or not until its displayed this is a critical issue.<br /> <br /> Thanks for the great control and I hope this fix will help others wondering why it doesnt work<br /> <br /> Brian @ Earthware.co.uk http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment1168 Brian Norman http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Sat, 14 Mar 2009 12:03:34 GMT RE: Silverlight LinkLabel control <p>I just noticed that if you have a URL like this:</p> <p><a href="http://www.silverlight.net/myshow/">http://www.silverlight.net/myshow/</a> as your hyperlink. the /myshow/ causes LinkLabel to throw an index zero error under the for loop for Link in links.</p> <p>---</p> <p>Scott Barnes<br /> Rich Platforms Product Manager<br /> Microsoft.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment954 Scott Barnes http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 26 Jan 2009 01:28:52 GMT RE: Silverlight LinkLabel control <p>How can I make the Hyperlink wrap?</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment792 Garf http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 04 Dec 2008 02:32:51 GMT RE: Silverlight LinkLabel control <p>Matt,</p> <p>there is a hyperlink control, but it only displays hyperlinks. In the LinkLabel control you can have both text and hyperlinks. Get your comment for example - it contains both text and a link to your company. Without a LinkLabel control you can't display your comment in a Silverlight application. That's the main purpose of this control.</p> <p>Hope this helps.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment732 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 20 Nov 2008 01:52:01 GMT RE: Silverlight LinkLabel control <p>Isn't there already a Hyperlink control???</p> <p>Matt<br /> <a href="http://www.vinsolutions.com">VinSolutions Automotive Software</a><br />  </p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment716 Matt http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 18 Nov 2008 22:04:42 GMT RE: Silverlight LinkLabel control <p> thanks guys =]</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment578 Rodrigo http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 22 Oct 2008 10:40:10 GMT RE: Silverlight LinkLabel control <p>Rodrigo,</p> <p>the control has been migrated to Silverlight 2 RTW. Just download the latest binaries from <a href="http://www.codeplex.com/SilverlightLinkLabel/SourceControl/ListDownloadableCommits.aspx">http://www.codeplex.com/SilverlightLinkLabel/SourceControl/ListDownloadableCommits.aspx</a> and you are good to go ;)</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment577 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 22 Oct 2008 10:06:32 GMT RE: Silverlight LinkLabel control <p>sorry for the duplicated post... :P</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment574 Rodrigo http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 21 Oct 2008 10:50:06 GMT RE: Silverlight LinkLabel control <p>Hey guys.</p> <p>i'm trying to migrate my website from Beta 2 to RTW.</p> <p>I tried to use the link label, and didn't work. There is a problem in this part of the code on LinkLabel.cs</p> <p>private void ClickLink( object sender, RoutedEventArgs e )<br />         {<br />             LinkClickEventHandler click = this.LinkClick;<br />             if ( click != null )<br />             {<br />                 LinkClickEventArgs args = new LinkClickEventArgs( ( sender as HyperlinkButton ).NavigateUri );<br />                 args.Source = this;<br />                 <br />                 click( this, args );<br />             }<br />         }</p> <p>"args. Source" doesn't exist in the new version of Silverlight.</p> <p>I'm trying to fix, but it's a little complicated...</p> <p>If someone can help it would be great.</p> <p>thanks</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment573 Rodrigo http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 21 Oct 2008 10:49:01 GMT RE: Silverlight LinkLabel control <p>ChaosKiller: Yeah. When you're making the click event for links in here you can put in calls to JavaScript perhaps, then your JavaScript on the page can do AJAX stuff, if that's the kind of thing you're looking for.</p> <p>Emil: Thanks. will need to check out RC0 I guess and see if we can put Content into a control like we want to. Nice to be able to do that instead of being stuck in the attribute.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment533 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Fri, 10 Oct 2008 09:18:52 GMT RE: Silverlight LinkLabel control <p>Is it possible to have an Silverlight hyperlink change the page currently displayed in an ASP.NET (.aspx) content place holder? Or can this be done using iFrames? Basically I have a Silverlight menu, and the links displayed here need to change just the content in the content place holder, instead or loading the whole web page. Hope that makes sense. Thanks</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment531 ChaosKiller http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Fri, 10 Oct 2008 06:51:34 GMT RE: Silverlight LinkLabel control <p>Instead of  " use &quot; </p> <p>This is the way you can write qutoes(") in the XAML.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment436 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 24 Sep 2008 09:34:43 GMT RE: Silverlight LinkLabel control <p>Sure I'll sign up there....once they fix the registration :)</p> <p>Yeah, the "AddLinks for no Uris" was kind of a workaround for the wrappanel textwrapping problem since the measuring stuff in the wrappanel project isn't working right. I noticed with a long block of text with no links it would canculate the height as being 42 pixels and the width as 5500 pixels, so the wrapping was never taking place. But when I ripped apart and sent in a bunch of TextBlocks it could do it properly.</p> <p>*Geez*, new it was a bug when it wasn't working at all any way I tried it. They need a Silverlight bug list. Wasting too much precious time getting things to work when it's all "fixed in RTM". *Arrg*</p> <p>When it's in CodePlex we'll need to change the RegEx so we can use single quotes in that [link] tag as well as double quotes. Otherwise you'll never be able to make text with links in the Xaml itself, only in the C# which really won't do.......until the RTM comes out of course :)</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment434 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 24 Sep 2008 07:52:39 GMT RE: Silverlight LinkLabel control <p><span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl44_lblCommentAuthor">Harlequin, I've bumped my head with the ContentProperty attribute yesterday, but it turns out that in the current version of Silverlight this attribute doesn't work. I've talked with other people in the Silverlight community and they reported the same.</span> I checked how this is done in the TextBlock control and saw the there is an internal attribute ContentProperty which is a bit different from the public one. So we have to wait and see if this will be fixed in the next release.</p> <p>BUT, there are some good news also ;) I've just published the control on CodePlex - <a href="http://www.codeplex.com/SilverlightLinkLabel">http://www.codeplex.com/SilverlightLinkLabel</a> with your changes for the target attribute. I didn't applied your change for the "AddLinks for no Uris" because I don't see a good point in it, but, of course, we can discuss that also.</p> <p>If you are willing to add new features or just some changes I can add you as a contributor in the CodePlex project. For this purpose I need your username.</p> <p>Thanks again ;)</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment433 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 24 Sep 2008 02:33:34 GMT RE: Silverlight LinkLabel control <p>Oh yeah, I'll be using this thing on an internal Silverlight thingy for Microsoft today(starting 3 week Silverlight project), so it's another Silverlight project being dogfooded by Microsoft :)</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment432 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 23 Sep 2008 07:12:17 GMT RE: Silverlight LinkLabel control <p>Good to hear about the ContentProperty, couldn't get that bloody <local:LinkLabel.Text> thing to work :)</p> <p>++ on the CodePlex. Will be a lot easier for this thing to grow on CodePlex than in a blog entry with a flat comment listing.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment431 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 23 Sep 2008 07:09:32 GMT RE: Silverlight LinkLabel control <p>Wow, Harlequin, thank you for the feedback!</p> <p>I'm glad you are so active here!</p> <p>Because of you, I considered to take this control into CodePlex. Now, I'm adding what I promised (the ContentProperty attribute) and I'll publish the latest source code on CodePlex.</p> <p>I like the changes you made about the target attribute. It was in my schedule also, but you did it already and that's great.</p> <p>My proposal for you is to contribute your changes in CodePlex. I'll publish the project today or tomorrow early in the morning (GMT +2) so then you can make your changes if you like the idea. Let me first publish the project and I'll share the link.</p> <p>What do you think? </p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment430 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 23 Sep 2008 06:58:29 GMT RE: Silverlight LinkLabel control <p><strong>Just changed the uriCollection.Add this this, so the default is "_self". Make the default whatever you'd want of course:</strong><br /> uriCollection.Add(new Link(uri.Value, currentUri)<br /> {<br />   Text = uri.Groups[LinkPatternTextGroupName].Value,<br />   TargetName = (uri.Groups[LinkPatternTargetGroupName].Value == String.Empty ? "_self" : uri.Groups[LinkPatternTargetGroupName].Value)<br /> });</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment429 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 22 Sep 2008 14:53:12 GMT RE: Silverlight LinkLabel control <p>Here's how you add functionality for a target="" attribute on the [link] element. All changes are in LinkLabel.cs. I'll assume you'll know where all the objects go, since they're named like the Uri and Text ones.</p> <p><strong>New LinkPattern:</strong><br /> public const string DefaultLinkPattern = "\\[link=\"(?<link>(.|\n)*?)\"\\s*(target=\"(?<target>(.|\n)*?)\")?](?<text>(.|\n)*?)\\[\\/link\\]";</p> <p><strong>New constant string:</strong><br /> public const string DefaultLinkPatternTargetGroupName = "target";<br /> <br /> <strong>New private string:</strong><br /> private string linkPatternTargetGroupName;</p> <p><strong>New GroupName, this can go under the "public string LinkPatternTextGroupName" item:</strong><br /> /// <summary><br /> /// Gets or sets the GroupName of the target in the RegularExpression.Match<br /> /// </summary><br /> public string LinkPatternTargetGroupName<br /> {<br />   get<br />   {<br />     if (this.LinkPattern.Equals(DefaultLinkPattern, StringComparison.OrdinalIgnoreCase))<br />     {<br />       return DefaultLinkPatternTargetGroupName;<br />     }</p> <p>    return this.linkPatternTargetGroupName;<br />   }<br />   set<br />   {<br />     this.linkPatternTargetGroupName = value;<br />   }<br /> }<br /> <br /> <strong>In the GetLinkMatches() function inside the foreach(), here is a new uriCollection.Add:</strong><br /> uriCollection.Add(new Link(uri.Value, currentUri)<br /> {<br />   Text = uri.Groups[LinkPatternTextGroupName].Value,<br />   TargetName = uri.Groups[LinkPatternTargetGroupName].Value<br /> });</p> <p> </p> <p><strong>That's it, now this should work for ya:</strong><br /> [link="http://www.cnn.com" target="_blank"]CNN[/link]</p> <p>Only thing I think that is missing is if there is no target="", then I'm not quite sure what the TargetName is set to in the uriCollection.Add, might need a default or something.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment428 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 22 Sep 2008 14:43:04 GMT RE: Silverlight LinkLabel control <p>And for the wrapping problem, where there are no links, getting more intimate with the code I found that if there are no links it makes 1 big TextBlock in the AddLinks() function, and when there are links, it pretty much chops up the entire thing to make TextBlocks and HyperlinkButtons. So, in the code below I made it so if it's text only, it chops it all up word by word and adds a TextBlock.. Helps the WrapPanel calculate things better. Might be a bit inefficient on bigger pages, would have to try it out. Of course a better way would be to find out it's allowed width, and set the one big TextBlock to that width, instead of chopping it up like I did.</p> <p>My code in the AddLinks for no Uris.</p> <p>// no uris found<br /> if (links == null || links.Count == 0)<br /> {<br />   string[] allwords = linkLabelText.Split(delimiter, StringSplitOptions.RemoveEmptyEntries);<br />   foreach (string word in allwords)<br />   {<br />     this.layoutRoot.Children.Add(new TextBlock()<br />     {<br />       Text = word + " ",<br />       Style = this.TextStyle<br />     });<br />   }<br /> }</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment427 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 22 Sep 2008 10:20:33 GMT RE: Silverlight LinkLabel control <p>Thanks for the response.</p> <p>Is there a way the to be able to use single quotes in the special [link ""][/link] element then, since we need to use the attribute, we can't be using double quotes. I don't care much about the scrollviewer not working right now, since the next projects for Microsoft I'll be working on won't need scrolling since all blocks of text will have a predetermined height/width, so I should be okay.</p> <p>Not sure why ContentProperty or the other stuff doesn't work, I tried everything myself, but using Silverlight you start to get a 6th sense that something you're trying to fix is actually a Beta 2 bug. Which I think this is.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment426 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 22 Sep 2008 09:05:34 GMT RE: Silverlight LinkLabel control <p>Hi Harlequin,</p> <p>About this: <br /> <span class="Apple-style-span" style="color: rgb(83, 83, 83); font-size: 14px; line-height: 20px; "><local:LinkLabel x:Name="MyLinkLabel"><br />     test<br /> </local:LinkLabel></span></p> <p>As answered in the Silverlight.net Forums a ContentProperty attribute is required for this to work.</p> <p>About<br /> <span class="Apple-style-span" style="color: rgb(83, 83, 83); font-size: 14px; line-height: 20px; "><local:LinkLabel x:Name="MyLinkLabel"><br />   <local:LinkLabel.Text><br />     test<br />   </local:LinkLabel.Text><br /> </local:LinkLabel></span></p> <p>I really don't know why it doesn't work. I've tried it myself and couldn't get it working also. Just as you I thought setting the attribute like <control Attribute=""> and setting it like <Control.Attribute>...</....> is the same. Well, seems it isn't or we are both missing something.</p> <p>It is easier to set the text property directly between opening and closing the LinkLabel tag. It is a good idea and I'll implement that in the control so everyone can use it that way. On Monday I'll publish a new version with this feature.</p> <p>The WrapPanel used in this control is a free control posted on CodeProject - <a href="http://www.codeproject.com/KB/silverlight/WrapPanelSilverlight.aspx">check out the article here</a>. There is also an open thread where other users using this control are experiencing the same issue - <a href="http://www.codeproject.com/KB/silverlight/WrapPanelSilverlight.aspx?msg=2483575#xx2483575xx">http://www.codeproject.com/KB/silverlight/WrapPanelSilverlight.aspx?msg=2483575#xx2483575xx.</a></p> <p> </p> <p> </p> <p> </p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment422 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Sat, 20 Sep 2008 01:21:43 GMT RE: Silverlight LinkLabel control <p>Also, has anyone tried grabbing the WrapPanel.cs from the link above? I use it, and even with the override tweaks, my Scrollviewer doesn't scroll. Almost like the WrapPanel isn't telling the Scrollviewer how much height it needs.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment420 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Fri, 19 Sep 2008 14:54:13 GMT RE: Silverlight LinkLabel control <p><a href="http://silverlight.net/forums/t/27546.aspx">http://silverlight.net/forums/t/27546.aspx</a></p> <p>I started a thread on the Silverlight forums to see if we can get content right into the Xaml itself. Text="test" works as an attribute for some reason, but can't get it to work like this:<br /> <local:LinkLabel x:Name="MyLinkLabel"><br />   <local:LinkLabel.Text><br />     test<br />   </local:LinkLabel.Text><br /> </local:LinkLabel></p> <p>Even better of course would be able to do this, but damned if I can't get that working :)<br /> <local:LinkLabel x:Name="MyLinkLabel"><br />     test<br /> </local:LinkLabel></p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment417 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Fri, 19 Sep 2008 07:48:26 GMT RE: Silverlight LinkLabel control <p>Thanks!!!</p> <p>You guys saved my life =]</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment415 Rodrigo http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 18 Sep 2008 11:54:59 GMT RE: Silverlight LinkLabel control <p>Hi <span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl20_lblCommentAuthor">Rodrigo,</span></p> <p><span>Yes, you are absolutely free to use the LinkLabel control in any projects you would like! <br /> It is completely free and it is made for the community.</span></p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment412 iiordanov http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 18 Sep 2008 07:43:34 GMT RE: Silverlight LinkLabel control <p>Hi,</p> <p>i was wondering if i can use your code to finish my web page  >> www.centrodeinovacao.org.br <<</p> <p>your solution solve all my problems.</p> <p>Can i use it?</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment409 Rodrigo http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 18 Sep 2008 07:23:35 GMT RE: Silverlight LinkLabel control <p>Hi <span id="ctl00_ContentPlaceHolderContent_itemComments_dlstComments_ctl16_lblCommentAuthor">Harlequin,</span></p> <p><span>Thank you very much for your comments!<br /> We are going to update the source code of the link label control with the great improvements you suggested!</span></p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment408 iiordanov http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Thu, 18 Sep 2008 05:21:12 GMT RE: Silverlight LinkLabel control <p>Working nice so far. Only thing I'd like to iron out is to be able to use the text in the Xaml itself. Doesn't seem to take it for some reason.</p> <p><local:LinkLabel x:Name="MyLinkLabel"><br />   <local:LinkLabel.Text><br />     Here's some text in the xaml.    <-- Doesn't work<br />   </local:LinkLabel.Text><br /> </local:LinkLabel></p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment399 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 16 Sep 2008 11:21:04 GMT RE: Silverlight LinkLabel control <p>As for James and the TextWrapping I see in the AddLinks function there is a function when there are no links, I just added Wrap in there by hand, but you might wanna make it I guess so the user can choose to wrap or nowrap as a property.</p> <p>// no uris found<br /> if (links == null || links.Count == 0)<br /> {<br />   this.layoutRoot.Children.Add(new TextBlock()<br />   {<br />     Text = this.Text,<br />     Style = this.TextStyle,<br />     TextWrapping = TextWrapping.Wrap    <-- I added this, and wrapping worked when no links.<br />   });<br />   return;<br /> }</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment398 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 16 Sep 2008 11:05:46 GMT RE: Silverlight LinkLabel control <p>Specific problem...I didn't add the generic.xaml to my Core project (where I keep the C# files)...thus there was no template to run. =)</p> <p>Just one more thing not working now, I should have it fixed soon then I should be good to go.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment396 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 16 Sep 2008 10:19:07 GMT RE: Silverlight LinkLabel control <p> Harlequin,</p> <p>Are you sure you enabled debugging for Silverlight?</p> <p>I set a breakpoint in the OnApplyTemplate() method and stepping into the code the sequnce is:</p> <p>this.RootVisual = new Page();<br /> - Page constructor<br /> -- InitializeComponent();<br /> -- ...<br /> and after that OnApplyTemplate()</p> <p>Do you experience any specific problem?</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment395 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 16 Sep 2008 05:16:26 GMT RE: Silverlight LinkLabel control <p>When does the LinkLabels OnApplyTemplate() get hit? I put a breakpoint in my OnApplyTemplate() and it never gets in there, thus the WrapPanel never gets inserted.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment392 Harlequin http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Mon, 15 Sep 2008 09:58:51 GMT RE: Silverlight LinkLabel control <p>One final note, word wrapping does not occur if there is no link in the text.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment354 James Roe http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Wed, 03 Sep 2008 01:15:19 GMT RE: Silverlight LinkLabel control <p>There are a couple of bugs with this current implementation. First and foremost the regex breaks on url's with slashes after the initial slash.</p> <p>ie: <br /> http://videosift.com - works<br /> http://videosift.com/ - doesn't work<br /> <br /> you can fix this by replacing the default uri pattern on line 15 of LinkLabel.cs with the following code</p> <p>public const string DefaultUriPattern = "(^|[ \t\r\n])((ftp|http|https|gopher|mailto|news|nntp|telnet|wais|file|prospero|aim|webcal):(([A-Za-z0-9$_.+!*(),;/?:@&~=-])|%[A-Fa-f0-9]{2}){2,}(#([a-zA-Z0-9][a-zA-Z0-9$_.+!*(),;/?:@&~=%-]*))?([A-Za-z0-9$_+!*();/?:~-]))";</p> <p>also if you want to add an underline to your links the way it is currently adding spacing to the end of links will result in the underline extending past the edge of the text. This can be fixed by changing line 255 from:<br /> <br /> Content = link.Text + " ",<br /> <br /> to: <br /> <br /> Content = link.Text,<br /> <br /> and by adding <br /> <br />                 this.layoutRoot.Children.Add(new TextBlock()<br />                 {<br />                     Text = " ",<br />                     Style = this.TextStyle<br />                 });<br />  </p> <p>following this.layoutRoot.Children.Add( hyperlink ); on line 261<br /> <br /> one final bug that I haven't resolved yet is managing punctuation that occurs directly after a link, for the time being in my apps I am just including the punctuation in the link tag, but I know some designers who would find that abhorable. Hope this helps someone.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment349 James Roe http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 02 Sep 2008 16:27:24 GMT RE: Silverlight LinkLabel control <p>Hi Fallon,</p> <p>This is pretty easy actually. If you have already download the source code you can see there is an internal class named Link. There is a property TargetName which for now is just hard coded to "_self". If you make a good regular expression that can match [link="...." target=".."]...[/link] you can use the <em>target </em>value and set it to TargetName. This way you will be able to set in which window the link to be opened. </p> <p>Same is for executing a method or event. You can define an Event in the Link class and then attach to it when adding the Links.</p> <p>I can actually implement these features in the next version. If you have interest in that I would like to hear. Thank you.</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment226 emil http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Tue, 08 Jul 2008 05:17:20 GMT RE: Silverlight LinkLabel control <p>How hard would it be to account for the following.</p> <ol> <li>Open Link in the current window</li> <li>Execute C# method or event</li> <li>Open Link in tab</li> </ol> <p>Just wondering.</p> <p>Thanks, Fallon...</p> http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx#comment218 Fallon http://www.silverlightshow.net/items/Silverlight-LinkLabel-control.aspx Fri, 04 Jul 2008 00:42:57 GMT