File Browser Controller: How to insert link to a file that opens in a new window?

4 posts, 0 answers
  1. Kyle
    Kyle avatar
    5 posts
    Member since:
    Nov 2015

    Posted 23 Feb Link to this post

    Using the Kendo Editor's FileBrowser is there any way to insert a link to a file who's <a> tag (anchor tag) has the attribute target="_blank", i.e. the link to the file opens in a new tab. I know this could be manually added to the inserted link through the "ViewHtml" button however my client is not tech savvy and this option is not a desired solution.

    Below is an example of the current and desired outcome upon inserting a file using the FileBrowser.

    Current outcome:
    <a href="/Files/SomeFile.pdf">File</a>

    Desired outcome:

    <a href="/Files/SomeFile.pdf" target="_blank">File</a>


  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 23 Feb Link to this post

    Hello Kyle,

    Thank you for contacting Telerik support.

    What the client needs to do is to check the "Open link in new window" checkbox in the "Insert link" dialog. Review the following screen shot http://screencast.com/t/xfFa0wAs

     

    Regards,
    Stanimir
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Kyle
    Kyle avatar
    5 posts
    Member since:
    Nov 2015

    Posted 23 Feb Link to this post

    Sorry I wasn't referring to the "Insert Hyperlink" button but rather the "Insert File" button.

    I have a attached some screen shots to further clarify.
    Again the desired html to be inserted would be in a format similar to the text below:

    <a href="/Files/SomeFile.pdf" target="_blank">File</a>

    Thanks.

  5. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 25 Feb Link to this post

    Hello Kyle,

    Thank you for the provided screen shot. It is helpful indeed. Unfortunately currently the Kendo UI editor is not extensible in a manner the will fit your requirement easily. We have plans to enhance the control functionality in 2016 so I strongly suggest you to add a feature request in the Kendo UI User Voice portal http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback.

    Regards,
    Stanimir
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET MVC is VS 2017 Ready