Skip to content

Replies

0
Bernie
Bernie answered on Nov 18, 2015 2:06 PM

Nadia, 

Thanks for the quick response.  I am using the WebImageButton.  I will attach some code that I am using as the code doesn't recognize the cancel method of the e object.

Private Sub cmdSave_Click(sender As Object, e As Infragistics.WebUI.WebDataInput.ButtonEventArgs) Handles cmdSave.Click
If UpdateRecord() Then
MsgBox("Record is saved.", MsgBoxStyle.OkOnly, "Record Saved")
Else
e.cancel = True
End If
End Sub

0
Bernie
Bernie answered on Oct 21, 2015 7:45 PM

I know this isnt the best solution for the problem but I add an empty item in the drop down 

cmbDropDown.Items.Insert(0, New DropDownItem("", ""))