E
Edward
Hi All,
Would anyone know if there is an event similar to the Page_PreInit that I
can code just once, at a global initialization level, that applies to all
pages executed?
Therefore, instead of placing the code below in every page codebehind, I
could code it just once.
Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.PreInit
If Not Request.Browser.Browser.Contains("IE") Then
Me.ClientTarget = "uplevel"
End If
End Sub
Thanks
Edward Re
Would anyone know if there is an event similar to the Page_PreInit that I
can code just once, at a global initialization level, that applies to all
pages executed?
Therefore, instead of placing the code below in every page codebehind, I
could code it just once.
Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.PreInit
If Not Request.Browser.Browser.Contains("IE") Then
Me.ClientTarget = "uplevel"
End If
End Sub
Thanks
Edward Re