Rank: Newbie
Joined: 9/18/2008 Posts: 14 Location: Denmark
|
Hi everyone,
I'm still getting to grips with Umbraco and User Controls. I have a .NET contact form on a page. The umbraco document has a property which is an email address. I would like to pass this property to the user control and have the email sent to this address. I also have an option of whether the page should display the user control or not. How do I check these umbraco properties from my .NET user control?
I can't find any good documentation about passing data between a user control and umbraco.
Any help or advice would be hugely appreciated. Shufflemoomin
|
 Rank: Addict
Joined: 2/19/2007 Posts: 824 Location: Belgium
|
Hi, If you have a property with alias mytext on your content page and you want to pass it to the usercontrol that is on the same page. You can just do myparameter="[#mytext]"
Umbraco tips and tricks: http://www.nibble.be - umbraco mvp 08/09 - certified level 1 & 2 professional
|