I'm quite new to Umbraco, I searched this forum and Google but I didn't really found an anwser to my question. For example, My TextPage document type has an bodyText attribute. Is it possible to add a usercontrol to that page that first reads the bodyText attribute en could automatically modify it?
Get the parent of the usercontrol
Hi
I'm quite new to Umbraco, I searched this forum and Google but I didn't really found an anwser to my question. For example, My TextPage document type has an bodyText attribute. Is it possible to add a usercontrol to that page that first reads the bodyText attribute en could automatically modify it?
Any help would be greatly appriciated!
Thijs
Yes, it is possible you need to look at using the Umbraco Document API In particular, see this:
http://our.umbraco.org/wiki/reference/api-cheatsheet/modifying-document-properties
Hey Thijs,
Have you checked the starter guides on Umbraco TV?
http://umbraco.com/help-and-support/video-tutorials/introduction-to-umbraco/developer-introduction/using-net-user-controls.aspx
Sounds to me like you are trying to pass bodyText attribute into a macro which wraps an ASP.net user control.
The above tutorials should help,
Matt
Ok thanks I figuered it out!
Sorry for double post..
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.