I would create an user controls in .net to use into back-end of Umbraco. This controls can be import in document type. How I can proceed to develop it? Must be create a package or are there other way? Where I can found specific documentation about this?
Other thing: how I can get the current Document into User Controls without handle Save event?
For example: I have an user control used as data type with a button in backend. When the user click this button, I need to read the current document. How I can do this?
Extend Umbraco back-end with user controls
Hi all,
I would create an user controls in .net to use into back-end of Umbraco. This controls can be import in document type. How I can proceed to develop it? Must be create a package or are there other way? Where I can found specific documentation about this?
Thank's a lot
Giuseppe
Here are some blog posts you can use:
http://www.nibble.be/?p=24
http://www.nibble.be/?p=97
http://www.nibble.be/?p=100
Also there is a video available here: http://umbraco.com/help-and-support/video-tutorials/developing-with-umbraco/data-editors/creating-a-custom-datatype-using-the-usercontrol-wrapper.aspx
Jeroen
Thanks Jeroen for your reply.
Other thing: how I can get the current Document into User Controls without handle Save event?
For example: I have an user control used as data type with a button in backend. When the user click this button, I need to read the current document. How I can do this?
You could use this:
Document document =
new Document(Convert.ToInt32(HttpContext.Current.Request.QueryString["id"]));
See this wiki for more info: http://our.umbraco.org/wiki/reference/api-cheatsheet/difference-between-a-node-and-a-document.
Jeroen
Oh yes! Thanks a lot ;-)
is working on a reply...