View Full Version : facebox problem

Haroon Ur Rashid
04-08-2009, 01:28 PM

I try facebox code in my ASP Dot Net application and itís really nice but in my app I am also using AJAX Script Managers and facebox used JQuery so that I try to use AJAX ScriptManager for facebox but do not succeed, can you please help me in this regard.

ASPX Page Code:

<ajaxToolkit:ToolkitScriptManager EnablePartialRendering="true" runat="server" ID="ScriptManager1" >
<asp:ScriptReference Path="scripts/facefiles/facebox.js" />

<asp:HyperLink ID="HyperLink1" runat="server" rel="facebox">Attendance Charts</asp:HyperLink>

Code Behind File:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

ScriptManager1.RegisterClientScriptBlock(Me, GetType(Page), "facebox", "facebox();", True)

End Sub

I will be very thanksfull to you.