or
Panel1.Location.X.Add(
new Telerik.Reporting.Drawing.Unit(0.03, Telerik.Reporting.Drawing.UnitType.Cm));
But i don't see it gets changed. I've another panel at Location.X = 0.03cm which is made invisible at runtime. Is there anyway to change the location of control at run time?
Thanks in advance.
var report = new TelerikComponentsWS.Reports.RepFeeReceipt(); |
report.DataSource = printdata; |
Telerik.Reporting.Drawing.ExternalStyleSheet exx = new Telerik.Reporting.Drawing.ExternalStyleSheet("~\\css\\ReprotStyleSheet.xml"); |
report.ExternalStyleSheets.Add(exx); |
report.ReportParameters[0].Value = strTitle; |
Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor(); |
Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", report, null); |
string fileName= result.DocumentName + ".pdf"; |
System.Web.HttpContext.Current.Response.Clear() ; |
System.Web.HttpContext.Current.Response.ContentType = result.MimeType; |
System.Web.HttpContext.Current.Response.Cache.SetCacheability( System.Web.HttpCacheability.Private) ; |
System.Web.HttpContext.Current.Response.Expires = -1 ; |
System.Web.HttpContext.Current.Response.Buffer =true; |
private void ghDO_ItemDataBound(object sender, EventArgs e) |
{ |
//Get the group section object from sender |
Telerik.Reporting.Processing.GroupSection groupSection = (Telerik.Reporting.Processing.GroupSection)sender; |
//From the group section object get the current DataRow |
System.Data.DataRow row = (System.Data.DataRow)groupSection.DataObject.RawData; |
//If Previous DO is not equal to current DO. Page Number reset to 1. |
if (OldDO != null && OldDO != groupSection.DataObject["do_no"].ToString()) |
{ |
|
pageNumber = 1; |
} |
else |
{ |
pageNumber = pageNumber + 1; |
} |
OldDO = groupSection.DataObject["do_no"].ToString(); |
pageNo.Value = pageNumber.ToString(); |
} |