On Selected Index Changed within II
Posted: Mon Mar 06, 2017 2:52 pm
Hello,
does anyone know if you can use the c# for .selectedindexchanged to get some nice code to show a textbox if there is a value you want selected or not?
this is what i have so far to see if it can be implemented but no message box shows :
object [] uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4_Found = webClient.Controls.Find("uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4",true);
if (uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4_Found.Length>0)
{
this.uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4 = webClient.Controls.Find("uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4",true)[0] as UNITeWebLookUp;
this.uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4.SelectedIndexChanged += change_DropDown;
}
void change_DropDown(object sender, EventArgs e)
{
MessageBox.Show("Hello");
}
does anyone know if you can use the c# for .selectedindexchanged to get some nice code to show a textbox if there is a value you want selected or not?
this is what i have so far to see if it can be implemented but no message box shows :
object [] uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4_Found = webClient.Controls.Find("uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4",true);
if (uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4_Found.Length>0)
{
this.uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4 = webClient.Controls.Find("uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4",true)[0] as UNITeWebLookUp;
this.uniteLookUp_uniTeDataManager1_enrolmenteventcustom2_code4.SelectedIndexChanged += change_DropDown;
}
void change_DropDown(object sender, EventArgs e)
{
MessageBox.Show("Hello");
}