message box for a picklist

critical5

Member
Joined
Jan 10, 2007
Messages
8
Programming Experience
1-3
Hi I have a problem displaying a message box on a web form. I have the for a windows form but I would like the equivalent for web form if this exists.

Below is the code:
VB.NET:
Expand Collapse Copy
Private Sub picklistProcessor_AddressMatchLevelExceeded(ByVal sender As Object, ByVal e As MatchLevelExceededEventArgs)

        Dim result As DialogResult = MessageBox.Show("Too many address matches have been found. " & _
        "Do you want to process this address as normal?", Application.ProductName, MessageBoxButtons.OKCancel)
        e.Cancel = (result = Windows.Forms.DialogResult.Cancel)

    End Sub
What this code does is to display a message box when many addresses have been returned.

Could someone help??

Thanks
Critical5
 
Back
Top