I made a user control to use as a datatype. It's working fine. Is there a way to get it's tab name? (the tab the datatype is in in the current document edition)
Thanks.
Fernando Umbraco 4.5.2 for .Net 3.5 MySQL Windows Server 2003 64 bits
@Fernando: Sorry I have ignored that you are using version 4.5.2. The solution might by similar with the old API. You'll find a description on stackoverflow.com:
UserControl datatype: how to get it's tab?
Hi again.
I made a user control to use as a datatype. It's working fine. Is there a way to get it's tab name? (the tab the datatype is in in the current document edition)
Thanks.
Fernando
Umbraco 4.5.2 for .Net 3.5
MySQL
Windows Server 2003 64 bits
Probably not, you may be able to find something in the ContentType (umbraco.cms.businesslogic.ContentType) class, but I doubt it.
If you do find something, I'd love to know!
Hi, I could not find a function in the core APIs.
But the following works for me in version 6.2.1:
Of course the rest of the DataEditor code is omitted;-)
Yours
Dirk
@Fernando: Sorry I have ignored that you are using version 4.5.2. The solution might by similar with the old API. You'll find a description on stackoverflow.com:
http://stackoverflow.com/questions/13334319/getting-all-the-properties-on-tab-in-umbraco
Dirk
is working on a reply...