Hello youkebb,
To make the URLs in a RichTextBox launch a browser, add code to handle the LinkClicked event:
protected void Link_Clicked (object sender, System.Windows.Forms.LinkClickedEventArgs e)
{
System.Diagnostics.Process.Start(e.LinkText);
}
And then, tie this handler to the RichTextBox's LinkClicked event:
myRichTextBox.LinkClicked += new System.Windows.Forms.LinkClickedEventHandler(Link_Clicked);
Regards,
Helen Zhou
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.