or
protected void Page_Load(object sender, EventArgs e) |
{ |
//Response.Write(TaskBL.GetSimpleReport(PageInfo.CurrentObjectId).Count.ToString()); |
PPS.Report.SimpleTaskReport rep = new SimpleTaskReport(); |
rep.ObjectId = PageInfo.CurrentObjectId; |
ReportViewer1.Report = rep; |
} |
public partial class SimpleTaskReport : Telerik.Reporting.Report |
{ |
public Guid ObjectId { get; set; } |
public SimpleTaskReport() |
{ |
/// <summary> |
/// Required for telerik Reporting designer support |
/// </summary> |
InitializeComponent(); |
TaskBL taskBL = new TaskBL(); |
this.DataSource = taskBL.GetSimpleReport(ObjectId); |
} |
} |
Hello Guys,
I just started to play with the Barcode object and I love that it can utilize soo many barcode types but I was trying to find a way to use it in my winforms directly.
For example, I’d like to be able to pass in the barcode type, value, and have it give me a binary stream so I can save it elsewhere or show it in a picture box.
Is there any way to do this *without* creating a report, using a data source and using the report viewer?
I tried just about everything you can think of after following this example http://www.telerik.com/help/reporting/programmaticexportingareport.html but it seems to be a bit much just to export/view a barcode.
C# .NET 2008,