Hello,
at the moment I am evaluating the Telerik Richtextbox and I want to use it in my LightSwitch-Application.
Everything works fine so far and now I want to customize the InsertHyperlinkDialog to my purpose.
Therefore I have downloaded the sample "CustomInsertHyperlinkDialog" from your website.
Then I added the two files InsertHyperlinkDialog.xaml and InsertHyperlinkDialog.xaml.cs to my Silverlight "SilverlightControls" where the RichTextBox is located.
Then I have changed the namespace of InsertHyperlinkDialog.xaml.cs to Silverlightcontrols and I have also changed the x:Class in InsertHyperlinkDialog.xaml to x:Class="SilverlightControls.InsertHyperlinkDialog"
What to I have to do that my custom window is used instead of the standard window?
I have tried to use the code provided in the sample within radRichTextBox_HyperlinkClicked: this.radRichTextBox.Commands.ShowInsertHyperlinkDialogCommand.Execute();
But this seems to do nothing.
And I have also tried to create a new instance of InsertHyperlinkDialog:
InsertHyperlinkDialog hyperDialog = new InsertHyperlinkDialog();
hyperDialog.ShowDialog();
When I try this, my custom dialog and the standard dialog are going to be opened.
And nothing happens when I try to Insert an hyperlink using my custom control.
What do I have to do to make this work?