I have a grid in which I have a RadCombobox. If the text of the combobox changes in 'scheduled' a mail must be sent. This works fine.
As you may notice the mail will also be sent if something else in the grid changes. The mail must only be sent if the combobox changes. It has something to do with SelectedIndexChanged, but this event must be fired when clicking the 'updatebutton'.
How do I arrange this?
Dim cell1 As TableCell = editItem("ddlStatus") | |
Dim Status As String = (CType(cell1.Controls(0), RadComboBox)).Text | |
If Status = "Scheduled" Then | |
' rest of code |
As you may notice the mail will also be sent if something else in the grid changes. The mail must only be sent if the combobox changes. It has something to do with SelectedIndexChanged, but this event must be fired when clicking the 'updatebutton'.
How do I arrange this?