Refresh textbox with a MsgBox()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FEOL
    New Member
    • Jun 2016
    • 3

    Refresh textbox with a MsgBox()

    Hi.
    In a web form I have this code in VB, on the button_Click event:
    Code:
    Text1.text = "1"
    Text2.text = "2"
    MsgBox("OK?", MsgBoxStyle.Information, "Cancel")
    The MsgBox displays but the textboxes doesn't refresh. What am I missing?
    Thanks.

    (Sorry, I posted in the wrong forum, is VB not c#)
    Last edited by FEOL; Jun 15 '16, 07:36 PM. Reason: Wrong forum.
Working...