__property not working with ASP.NET control
-
I've finally had time to finish off my second validation control (CP article coming soon :). However, I cannot get these damned properties to work!
__property String* get_LocalServer() { return m_sLocalServer; }
__property void set_LocalServer(String* value) { m_sLocalServer = value; }The above properties are included in the public section, and the member variable is declared as private. However, nothing is ever set, the m_sLocalServer member variable is never filled with anything. If I move m_sLocalServer to be public, then I can set its value correctly from the ASP.NET page via. the validation control's properties as expected. I don't suppose anyone has any suggestions as to why this might be? -- Paul "I need the secure packaging of Jockeys. My boys need a house!" - Kramer, in "The Chinese Woman" episode of Seinfeld MS Messenger: paul@oobaloo.co.uk Sonork: 100.22446