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

GridViewHyperlinkColumn->HyperlinkButton

0 Answers 78 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Szymon
Top achievements
Rank 1
Szymon asked on 07 Apr 2013, 02:42 PM

Hello,

I have a problem with HyperlinkButton and his static method: OnRequestNavigate.

If my URI contains absolute path to file with polish diacritic characters, Process.Start throws Win32Exception (NativeErrorCode: 2).

Example file path:
@”C:\zażółć gęsią jaźń.xlsx”

After change this line:
Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri));

to:
Process.Start(new ProcessStartInfo(e.Uri.LocalPath));

in my case everything looks perfectly.
It's possible to change URI handling logic in this method?

Cheers,
Szymon

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Szymon
Top achievements
Rank 1
Share this question
or