I've been using umbraco for one month now and each that passes I enjoy it even more. I've managed to clear the obstacles I had until now with the help of the community but now I'm stuck in creating a custom control based on the Tree Multi Picker.
What I need is to have a data type with the same functionality as the Tree multi picker but with 2 extra textboxes. Any ideas as how to accomplish this? I've been looking at the source code of that package, but noticed that is not a UserControl, but consists of two aspx with the logic behind very different of the simple IUsercontrolDataEditor way I've learned so far. If anyone could provide me more information about this I'd be very grateful.
I'm not an expert on the subject, but I believe there are 2 ways to create custom datatypes - using the Umbraco Usercontrol Wrapper or by using the 3 classes method, which sounds like what you are looking at. I think the 3 classes method offers more features, such as the ability to use prevalues, and the Usercontrol method is quicker/easier to develop.
There are good examples of each method on nibble.be:
Custom tree multi content picker
Hi everyone,
I've been using umbraco for one month now and each that passes I enjoy it even more. I've managed to clear the obstacles I had until now with the help of the community but now I'm stuck in creating a custom control based on the Tree Multi Picker.
What I need is to have a data type with the same functionality as the Tree multi picker but with 2 extra textboxes. Any ideas as how to accomplish this? I've been looking at the source code of that package, but noticed that is not a UserControl, but consists of two aspx with the logic behind very different of the simple IUsercontrolDataEditor way I've learned so far. If anyone could provide me more information about this I'd be very grateful.
Thank you all
Gustavo
Hi,
I'm not an expert on the subject, but I believe there are 2 ways to create custom datatypes - using the Umbraco Usercontrol Wrapper or by using the 3 classes method, which sounds like what you are looking at. I think the 3 classes method offers more features, such as the ability to use prevalues, and the Usercontrol method is quicker/easier to develop.
There are good examples of each method on nibble.be:
http://www.nibble.be/?p=24
http://www.nibble.be/?p=50
-Tom
Hi Tom,
Thank you for the links! I'll take a look at them and see if I can come up with a solution.
Gustavo
is working on a reply...