Hi,

You might try using a different stage in the page lifecycle:

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init

If...