One simple thing you can always do is just href=”/tabid/nnn” – so
<a href="/tabid/@Dnn.Tab.ParentId">Up</a>
Based on your description, I am not sure that covers you 100% of the time, but seemed worth pointing out. 🙂
If you prefer a more “code” approach, use 2sxc’s Link.To()…
<a href="@Link.To(pageId: Dnn.Tab.ParentId, parameters: "this=403&category=all")">Up</a>
CLICK HERE to find out more related problems solutions.