or
foreach (var a in b){ ChartSeriesItem objItem = new ChartSeriesItem(); objItem.YValue = 1; objItem.Name = "test"; objItem.ActiveRegion.Click += new RegionClickEventHandler(ActiveRegion_Click); objItem.ActiveRegion.Attributes = "onclick:alert('test')"; objItem.ActiveRegion.Tooltip = "test"; objItem.ActiveRegion.Url = "www.google.com"; objSeries.Items.Add(objItem);}
void ActiveRegion_Click(object sender, RegionClickEventArgs args)
{
throw new NotImplementedException();
}
But the handler is not getting fired nor the alert is shown..
Is there something i miss?
Thanks and best regards
namespace CMS{ public partial class ARQSort : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { CMS.Reports.ARQSort report1 = new CMS.Reports.ARQSort(); using (CMSDatabaseDataContext myCMSDataContext = new CMSDatabaseDataContext()) { IEnumerable<arq_recipient> arqSortQuery = (from a in myCMSDataContext.arq_recipients where a.fdc_accepted == true select a); // Assigning the ObjectDataSource component to the DataSource property of the report. report1.DataSource = arqSortQuery; Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource(); instanceReportSource.ReportDocument = report1; ReportViewer1.ReportSource = instanceReportSource; } } }}How do we set the binding for height. I keep getting the Binding error .
Any help is appreciated.