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.
Asked
Active
Viewed 128 times
0

David d C e Freitas
- 7,481
- 4
- 58
- 67
-
possible duplicate of [How to get TabPage on which a user control data type resides](http://stackoverflow.com/questions/11539071/how-to-get-tabpage-on-which-a-user-control-data-type-resides) – David d C e Freitas Apr 30 '14 at 11:12
1 Answers
0
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.

David d C e Freitas
- 7,481
- 4
- 58
- 67