Posted: 10/24/2011
Hi Guys,
Can any one provide me sample hyperlink code in silvelight..
plz
Thanking you,
J.Vamsidhar
Hi,
You can create it through HyperlinkButton control.
Example how to open the link in the new window:
<HyperlinkButton Content="Click Me" TargetName="_blank" NavigateUri="http://www.silverlight.net"> </HyperlinkButton>
Here TargetName tells you where the window to be opened.
To open the link in a new window, TargetName = _blank, _media, _search.
To open the link in the same winowd, TargetName = _parent, _self, _top.
Regards,
Gjorgji Dimitrov