0
如何在超鏈接中引用page.aspx?id ='Fields!RelativePath.Value'?我已將EnableHyperlink屬性設置爲true。C#.NET如何在reportviewer中添加超鏈接
日Thnx提前
如何在超鏈接中引用page.aspx?id ='Fields!RelativePath.Value'?我已將EnableHyperlink屬性設置爲true。C#.NET如何在reportviewer中添加超鏈接
日Thnx提前
我認爲你的問題已經回答了here。
編輯: 作爲一個例子,在一個文本框: 右鍵點擊>屬性>導航>跳轉到URL 這應設置爲:= 「page.aspx ID =?」 &場RelativePath.Value
!如果不起作用,可能是因爲相對路徑問題。 我建議使用System.AppDomain.CurrentDomain.BaseDirectory來構建絕對URL,無論你想要去的地方。
可以幫助我進一步嗎?因爲我不知道如何做到這一點:「添加一個自定義代碼來檢索相對路徑,然後與可能希望成爲URL一部分的字段值進行協調」 – Martijn 2009-02-04 07:40:37