Yes you will have to create a property in that particular document type, later when you create actual page using that document type. You will be allowed to provide data to that property. Each page you create of that particular doc type, you can set values to it - remember those values will be only bound to that particular page.
Is it possible to use properties in a DocType to update a usercontrol?
Hi,
(Sorry, I've reposted this as my original topic was confusing doctypes with datatypes - it's been a long day!)
I've just watched the video 'Databinding published content' and I was wondering if I can do a similar thing with properties created in a datatype?
For eg. I have the following in a .Net usercontrol
and I want to be able to populate the list items using
Is there a way to do this?
Thanks,
Rachel
Hi Rachel,
Can you be a litle bit more specific about what you'r trying to do.
Ron
Hi Rachel,
Please check out the link below:
http://www.nibble.be/?p=24
This explains how you can go about creating your own datatype.
Cheers,
Ranjit J. Vaity
Hi,
Basically what I want to be able to do is pass a parameter to a UserControl, without it being hardcoded. I think I can do something like
But do I then need to specify that parameter in a DocType?
Thanks,
Rachel
hi Rachel,
Yes you will have to create a property in that particular document type, later when you create actual page using that document type. You will be allowed to provide data to that property. Each page you create of that particular doc type, you can set values to it - remember those values will be only bound to that particular page.
Ranjit J. Vaity
Thanks for your help Ranjit
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.