This is a migrated thread and some comments may be shown as answers.

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

3 Answers 51 Views
MessageBox
This is a migrated thread and some comments may be shown as answers.
Chad Hensley
Top achievements
Rank 1
Chad Hensley asked on 20 Apr 2010, 01:33 AM
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.







3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 20 Apr 2010, 04:53 PM
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.
0
Chad Hensley
Top achievements
Rank 1
answered on 21 Apr 2010, 01:06 AM
        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.
0
Peter
Telerik team
answered on 21 Apr 2010, 02:22 PM
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.
Tags
MessageBox
Asked by
Chad Hensley
Top achievements
Rank 1
Answers by
Peter
Telerik team
Chad Hensley
Top achievements
Rank 1
Share this question
or