or
Hi all!
I'm trying to view the datasouce source of theTelerik Cross Tab example ie. productSalesDataSet but when i try to configure... so as to view after "Edit in DataSet designer..."
i get the error below.
Failed to open a connection to the database.
"This server version is not supported. You must have Microsoft SQl Server 2005 Beta 2 or later"
Change connection and try again.
I have SQL server 2008.
Can someone send the the query used in the productSalesDataSet so i can have a look. I think after i've seen it i'llget my crosstab to work
thnx so much.
private void Chart_NeedDataSource(object sender, System.EventArgs e) |
{ |
string strCompanyID = this.ReportParameters["CompanyID"].Value.ToString(); |
// The above always gives the default parameter value in the sub report, but correct in the master report |
// ... |
} |
Sunscape.TKS.Reports.KeyFigures report = new Sunscape.TKS.Reports.KeyFigures(); |
report.ReportParameters["CompanyID"].Value = Session["intCompany_ID"]; |
Telerik.Reporting.SubReport subReport = report.Items.Find("chartSubReport", true)[0] as Telerik.Reporting.SubReport; |
subReport.Parameters[0].Value = Session["intCompany_ID"]; |
this.ReportViewer.Report = report; |
chart1.PlotArea.XAxis.Appearance.MinorGridLines.Color =
Color.Black;<
BR
>
chart1.PlotArea.XAxis.Appearance.MinorGridLines.EndCap =
LineCap.Flat;<
BR
>
chart1.PlotArea.XAxis.Appearance.MinorGridLines.PenStyle =
DashStyle.Solid;<
BR
>
chart1.PlotArea.XAxis.Appearance.MinorGridLines.Visible =
true;<
BR
>
chart1.PlotArea.XAxis.Appearance.MinorTick.Visible =
true;<
BR
>
chart1.PlotArea.XAxis.Appearance.MinorTick.Color = Color.Black;
[= "Date of " + Parameters.CALCDATE.Value]
[="Date of" + Format({0:d}, Parameters.CALCDATE.Value)]