Vectorlight News

  • Chat App Converted to HTML and JQuery
    Sep 08, 2011

    Converted from Silverlight to HTML and Javascript/JQuery is the Vectorlight Chat App. Login using your Vectorlight password to chat using your username and avatar.

  • HTML5 iPhone,Android Big Guns Tower Defense
    Jul 02, 2011

    Big Guns has made the leap from Windows Phone 7 (XNA) to HTML5 so you can now play it on your iPhone, Android and other HTML5 compatible devices.

  • HTML5 Games - Word Poppers and Batty
    Jun 04, 2011

    As the take-up of HTML5 quickens (74% of users currently have a browser capable of HTML5 Canvas) we present two more games for both your browser and mobile.

  • Big Guns Tower Defense on Windows Phone 7
    May 06, 2011

    Coming soon to Windows Phone 7 is an XNA port of the popular Vectorlight tower defense game Super Tower Defense. Whilst retaining many of the graphical and gameplay features of the original Silverlight game.

  • Wakacube WP7 Update
    Apr 26, 2011

    Released to the Windows Phone 7 marketplace today is Version 1.1 of Wakacube the 3D physics game of skill. Included in the update are more levels (30 in total) and new mode Wakatime which generates random crate structures to keep players entertained long after the levels have been completed.

  • Home Page News
lionhome
lionhome
There is problem in Insert Hyperlink into RichTextBox Posted: Jun 23, 2010
 

If there is no text exist in richtextBox . I Want Insert A Hyperlink such as http://www.google.cn. it does not work

How I can do it ......?

 
 
lionhome
lionhome
RE: There is problem in Insert Hyperlink into RichTextBox Posted: Jun 23, 2010
 

private void btnLink_Click(object sender, RoutedEventArgs e)

        {


            string link = "http://www.google.com";


            ExecuteFormatting(Formatting.Link, link);


        }


        private void ExecuteFormatting(Formatting format, object param)

        {

  

                rtb.ApplyFormatting(format, param);

                rtb.ReturnFocus();


        }

 
 
dan
dan
RE: There is problem in Insert Hyperlink into RichTextBox Posted: Jun 25, 2010
 

Hi,


I'm not sure I understand what you are trying to do.  To insert a hyperlink you must first select some content for which the hyperlink is to be applied.  Trying to apply a hyperlink to "nothing" will not work.  If you are trying to insert a predefined hyperlink and content on a button click then you can use the Insert() method to insert it.


Thanks!

 
 
jin.yuan
jin.yuan
RE: There is problem in Insert Hyperlink into RichTextBox Posted: Aug 04, 2010
 

Hi, Dan: This control does recognize the URL when I typed but not auto-formated. Same thing if I select some text and click on hyperlink button , enter the link (for example www.msn.com) . It is not auto-formated on your demo page, but it is formated here!!  I must have missed something!

Thanks for your help!


Jin

 
 
dan
dan
RE: There is problem in Insert Hyperlink into RichTextBox Posted: Aug 14, 2010
 

Hi Jin,


Try setting the following property on your RichTextBox:


richTextBox.EnableGlobalLinkStyle = true;


Thanks!

 
 
gabs002
gabs002
RE: There is problem in Insert Hyperlink into RichTextBox Posted: Jun 27, 2011
 

Hi!


I've got ~3 Richtextboxes on my xaml-Page. I can modify each text in each box in a ChildWindow which contains a Richtextbox too. But I ran into a problem with Hyperlinks. When I open the Text in my Childwindow and klick onto the link, it works fine except the link does not open in a new window. But when I click on the link when I'm on my page, it doesn't work. I geht following exception:

Meldung: Unhandled Error in Silverlight Application Content for the URI cannot be loaded. The URI may be invalid.Parametername: uri   bei System.Windows.Navigation.NavigationService.NavigateCore(Uri uri, NavigationMode mode, Boolean suppressJournalAdd, Boolean isRedirect)   bei System.Windows.Controls.Frame.Navigate(Uri source)   bei MS.Internal.NavigationHelper.TryInternalNavigate()   bei MS.Internal.NavigationHelper.Navigate(Boolean checkUserInitiatedAction)   bei System.Windows.Controls.HyperlinkButton.OnClick()   bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)   bei System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)   bei MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)


Please can you help me?


Thank you!

 
 

Rate this: 

1 Star 2 Star 3 Star 4 Star 5 Star
1 Rating / 3.0 Average