문제

In the Umbraco, if I have a custom Dashboard content tab pointing to an ascx control, how do I determine in the code which tab is accessing the control?
I would like to re-use the same control for different tabs with slight differences.

도움이 되었습니까?

해결책

This didn't work: passing a parameter through on the path to the ascx... e.g.

  <section ...> <tab ...> <control ...>  `landing.ascx?tab=importer`

But this will:

Create a page e.g. landing-importer.ascx and in that page include the landing.ascx control you want with the correct parameter.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top