//+-------------------------------------------------------------------+ //| ************* READ ME ************* | //+-------------------------------------------------------------------+ //+-------------------------------------------------------------------+ //| TEMPLATE FOR THE CISSEC FLY OVER //| o NOTE: template paths may need to be changed. //+-------------------------------------------------------------------+
//+-------------------------------------------------------------------+ //| SNEAK PEAK CODE CODE BEHIND EXAMPLE //+-------------------------------------------------------------------+ Protected Sub myGridView_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles myGridView.RowDataBound Try Dim SneakPeek As New Cissec.Enterprise.Web.UI.WebControls.SneakPeak Dim dr As Data.DataRowView dr = e.Row.DataItem Dim PeekURL As String = "someURL.aspx?ID=" + CStr(dr("ID")) e.Row.Attributes.Add("onmouseout", SneakPeek.HidePeek("divPeek", "iPeek")) e.Row.Attributes.Add("onmouseover", SneakPeek.ShowPeek("divPeek", "iPeek", PeekURL, 300, 200, 0)) Catch ex As Exception Throw ex End Try End Sub