How do you add a relative path to a local file?

4 posts, 0 answers
  1. Chad Hensley
    Chad Hensley avatar
    54 posts
    Member since:
    Feb 2005

    Posted 19 Apr 2010 Link to this post

    I have read the following link and it shows including a relative path for an image.

    http://www.telerik.com/help/winforms/tpfhtml-like_text_formatting.html

    I tried the same for a link in the RadMessageBox and it does not work.  I am trying to point to a .htm in my project.  If I hard code the path it works fine.







  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 20 Apr 2010 Link to this post

    Hello Chad Hensley,

    Thanks for writing.

    I'm not sure what the problem is with the Html-like formatting - I cannot reproduce it locally. Please, send me the code that you use or a sample project where the issue can be reproduced.
     
    I look forward your response.

    Sincerely yours,
    Peter
    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. UI for WinForms is Visual Studio 2017 Ready
  4. Chad Hensley
    Chad Hensley avatar
    54 posts
    Member since:
    Feb 2005

    Posted 20 Apr 2010 Link to this post

            private void radButton1_Click(object sender, EventArgs e)  
            {  
                RadMessageBox.Show("<html><b>relative path test</b><br><br><a href=~/help/faq/faq.htm>faq</a>");  
            } 

    The help folder is in the root of the project.
  5. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 21 Apr 2010 Link to this post

    Hello Chad Hensley,
     
    Thank you for the code snippet. This functionality will be added in our next release.

     
    All the best,
    Peter
    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.
Back to Top