did you ever find a solution to your question ?
the code that i'm trying to use is:
<%@ Register TagPrefix="CR" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web" %>
<%@ Page Language="VB" %>
<%@ Import Namespace="CrystalDecisions.Web" %>
<html>
<head>
<script runat="server">
Protected Sub CRViewer1_OnDrill(Source As Object, e As DrillEventArgs)
Label1.Text = "You drilled down on " & _
e.NewGroupName
End Sub
</script>
</head>
<body>
<form runat="server">
<CR:CrystalReportViewer id="CRViewer1" runat="server" width="500px" height="500px" ReportSource="C:\
OnDrill="CRViewer1_OnDrill"/>
<asp:Label id=Label1 runat=server/>
</form>
</body>
</html>
It always generates this error message:
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Cannot create an object of type 'System.Object' from its string representation 'C:\
for the 'ReportSource' property.
Source Error:
Line 16: <form runat="server">
Line 17:
Line 18: <CR:CrystalReportViewer id="CRViewer1" runat="server" width="500px" height="500px" ReportSource="C:\
OnDrill="CRViewer1_OnDrill"/>
Line 19:
Line 20: <asp:Label id=Label1 runat=server/>
thanks in advance.