RadInsertHyperlinkDialog can you restrict

5 posts, 0 answers
  1. Tracey
    Tracey avatar
    34 posts
    Member since:
    Feb 2011

    Posted 18 May 2011 Link to this post

    Hi

    Is there a way of restricting TargetFrame to just New Window in the RadInsertHyperlinkDialog? (I don't want any links that are added to be opened in the Same frame)

    Many Thanks
    Tracey
  2. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 20 May 2011 Link to this post

    Hi Tracey,

    There is no way of restricting the TargetFrame to NewWindow only. You have two options.
    You can handle the HyperlinkClicked event of RadRichTextBox and "manually" open all Hyperlinks in another window, regardless of their target.
    A better approach, however, would be to implement your custom insert hyperlink dialog by implementing IInsertHyperlinkDialog and use it in your RadRichTextBox. If you would like, you can open a support ticket and we can send you the code of InsertHyperlinkDialog for reference.
    I hope that answers your question. Looking forward to hearing from you about the solution you choose.

    Greetings,
    Iva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Tracey
    Tracey avatar
    34 posts
    Member since:
    Feb 2011

    Posted 20 May 2011 Link to this post

    Thanks Iva

    I suspected this might be the case - have put in a request for the InsertHyperlinkDialog source

    Many Thanks
  5. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 20 May 2011 Link to this post

    Hello Tracey,

    Your request has been addressed in the support thread.

    All the best,
    Iva
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Hans
    Hans avatar
    26 posts
    Member since:
    May 2012

    Posted 04 Apr 2013 Link to this post

    Hello
    Please tell me, do you added this feature?
    I need to remove the Target Frame completely, or leave in the comboBox only "Same Frame"

    my current v. is 2013.1.220.1050
Back to Top
DevCraft banner