Feb 13, 2012, 1:45 PM
[CLOSED] Combobox SelectedItem
Hi,
I write my ui in cs file.My question is about how can i press sellected combobox item value on Alert.on Alert box selectednode seems empty.Where am i wrong?I wanna your helps...Sorry for my english
thanks all..
My code is :
I write my ui in cs file.My question is about how can i press sellected combobox item value on Alert.on Alert box selectednode seems empty.Where am i wrong?I wanna your helps...Sorry for my english
thanks all..
My code is :
string fn = "var selectedNode=this.nationality.SelectedIndex.value; Ext.Msg.alert('Confirm',selectedNode);";
ComboBox nationality = new ComboBox
{
ID = "nationality",
Name = "nationality",
FieldLabel = "Lütfen Uyruk Seçiniz",
Listeners =
{
Select =
{
Handler = "function(){" + fn2 + "}"
}
}
};
ListItem domestic = new ListItem
{
Text = "TC",
Value = "TC"
};
ListItem foreign = new ListItem
{
Text = "Yabancı",
Value = "Foreign"
};
Last edited by Daniil; Feb 13, 2012 at 2:13 PM.
Reason: [CLOSED]