In vb6 I would do:
VB Code:
  1. If txtUsername.Text = vbNullstring Then
  2.    MsgBox "Please enter a correct woof!"
  3.    txtUsername.SetFocus
  4. End If
But how do I do this on a web ASP.NET page?
The txtUsername doesn't have a SetFocus method

Woka