Getting a Property from Code Behind

atmosphere

Member
Joined
Jun 14, 2005
Messages
8
Programming Experience
5-10
I have a hidden input field specified in my design view:

<input type="hidden" value="<% GetNamespace() %>" >

The property GetNamespace() is defined and returns a string.

I get the error "Property access must assign to the property or use its value"

Can anyone see whats wrong?
 
Back
Top