Another Notification control oddity

  • Thread starter Thread starter Earl
  • Start date Start date
E

Earl

VS2005 PocketPC Phone app (WM5.0/.Net2.0). I have a couple of buttons in a
notification control that I'd like to capture, but it isn't responding to
the ResponseSubmitted event. The notification balloon closes when I click on
a button, but the ResponseSubmitted event still doesn't fire. Has anyone
seen this and is there a solution?
 
This is quite similar to several examples I've seen, including one in the
VS2005 documentation. I'm not understanding how the HTML would prevent the
ResponseSubmitted event from firing, but here it is. Even if I click in an
area of the notification control that is not a button, the control still
closes -- but the ResponseSubmitted event does not fire then either.

Dim HTMLString As New System.Text.StringBuilder
HTMLString.Append("<html><body>")
HTMLString.Append("Keep trying to connect?")
HTMLString.Append("<form method=\'GET\' action=notify>")
'HTMLString.Append("<input type='submit'>")
HTMLString.Append("<input type=button name='cmd:1' value='Reconnect'>")
HTMLString.Append("<input type=button name='cmd:2' value='Exit'>")
HTMLString.Append("</body></html>")

With notifyConnect
'.Text = "An Internet connection is required ... "
..InitialDuration = 20
..Visible = True
..Caption = "No connection to the Internet"
..Critical = True
..Text = HTMLString.ToString()
..Visible = True
End With
 
Back
Top