accesing my user control properties

  • Thread starter Thread starter Fatih
  • Start date Start date
F

Fatih

I have an user control based on textbox class and i added
an Error property to this class to can check if there is
any errors after leaving from this textbox.

The problem is, how can i dynamicly access to this
control's "Error" property when leaving from the control.


***sender.GetType().GetProperty("Error").GetValues
(sender,object[])***

How can i made this code work?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top