Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Can anyone show me an example of how to get the property value from a c# class.
I have this property emailFromAddress which is in tab Email Settings, how can I retrieve the value
i.e.
public class SomeClass { public bool someMethod() { var emailAddress = what is needed here. } }
Thanks George
Hi George,
Do you want to retreive property value from Umbraco node?
What is SomeClass doing?
Hi Alex
Thanks for the reply, what I have is a multiple textbox which will have a number of email addresses.
I need to get the data from the textbox so that I can loop over them and do some work in my .cs class.
If it was in the directory, I could have done umbraco.library.directoryvalue!! but its not, so how can I get the value from the textbox.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Retrieve property value in c# class
Hi Can anyone show me an example of how to get the property value from a c# class.
I have this property emailFromAddress which is in tab Email Settings, how can I retrieve the value
i.e.
Thanks George
Hi George,
Do you want to retreive property value from Umbraco node?
What is SomeClass doing?
Hi Alex
Thanks for the reply, what I have is a multiple textbox which will have a number of email addresses.
I need to get the data from the textbox so that I can loop over them and do some work in my .cs class.
If it was in the directory, I could have done umbraco.library.directoryvalue!! but its not, so how can I get the value from the textbox.
Thanks George
is working on a reply...