Hi Mikael Kleinwort,
You are completely right.
We are aware of that issue though and think for different way to resolve it. The problem is that if we resolve every single link, it should have some performance issue. However, I suggest you to use our ReplaceTool
to change your links. When you deploy your application, you might run it like:
Search For: /virtualdirectory/
Replace with: /
It will change the paths so they do not contain the virtual directory.
As additional information, we will most probably use the sfref attribute in order to dynamically change the paths depending on the virtual directory as well.
the Telerik team