WebButton.Immediate (gb.web.form)

Property Immediate As Boolean

If the Immediate property is set, the Click event is raised to generate javascript code that will be executed on the client side when the button is clicked.

In that case, the Click event handler should only call methods that generate javascript on the client side: