views:

78

answers:

0

Hi everyone,

I'm trying to handle the OnDrillthrough event for the ASP .Net Report Viewer control using JavaScript rather than in C# code behind.

I've tried lots of different methods so far including adding a attribute in code behind:

mainReport.Attributes.Add("drillthrough", "mainReportDrillthrough()'");

Also tried using the $addHandler method is JavaScript:

$addHandler($get("mainReport"), "drillthrough", mainReportDrillthrough, true);

Nothing so far has worked.

Is what I am attempting possible and if so, how can I achieve it?

Thanks very much for your time.

Martyn Jones.