I created a new app using the eXpressApp framework. It created 2 modules, win and web...
for the win i created a controller ( derived from the WinDetailViewController) which i linked to a specific detail view for a specific businessclass
in that controller i hook on the Activated event, in which i do the following:
View.ControlsCreated +=
new EventHandler(View_ControlsCreated);
to get the ControlsCreated event!
In that event i do the following:
...
TextEdit m_TxtEditPassword = null;
foreach (StringPropertyEditor item in View.GetItems<StringPropertyEditor>()){
if (item.Id == "Password"){
m_TxtEditPassword = (
TextEdit)item.Control;
m_TxtEditPassword.EditValueChanged += new EventHandler(m_TxtEditPassword_EditValueChanged);
}
}
...
> By doing this i can listen to the password textbox value changed event. Because i want to know when the user changed something in the textbox, so i can react on it...
How can i do this for the web module?
i know i can do something like:
foreach(ASPxStringPropertyEditor item in View.GetItems<ASPxStringPropertyEditor>()){
if (item.Id == "Password")
{
??????????? what now: i know there is item.Control but that's a Table, which has 1 row which has cells...
}
but how can i reach the TextBox (i don't know what control is used by the framework)?
Thanks