Me.HtmlTextBox1.Location = New Telerik.Reporting.Drawing.PointU(New Telerik.Reporting.Drawing.Unit(CDbl("=Fields.Settings_List_AdresseX"), Telerik.Reporting.Drawing.UnitType.Cm), [...]) SELECT [...], 10 AS Settings_List_AdresseX FROM [dbo].[...]Hi,
How do I format data bound field from int to string with mask like - ToString("00-000") ?
<%
@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2" %>
<%
@ Register assembly="Telerik.ReportViewer.WebForms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" namespace="Telerik.ReportViewer.WebForms" tagprefix="telerik" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title>Untitled Page</title>
</
head>
<
body>
<form id="form1" runat="server">
<div>
<telerik:ReportViewer ID="ReportViewer1" runat="server"
Report="monthly_admin_log_in_report, App_Code.epo0catl, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" />
</div>
</form>
</
body>
</
html>
<
telerik:ReportViewer ID="rvVerlofurenReport" runat="server"></telerik:ReportViewer>
Report is loaded in code behind (just an empty report for testing).
I've added the following rule to my web.config:
<add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type ="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=4.1.10.714, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode"/>
I hope anybody can help
Best regards Patrick
<connectionStrings> <add name="ReportPlugin.Properties.Settings.Development"connectionString="Data Source=*****;Initial Catalog=*****;Integrated Security=True" providerName="System.Data.SqlClient" /> </connectionStrings>// // sqlDataSource1// this.sqlDataSource1.ConnectionString = "ReportPlugin.Properties.Settings.Development";this.sqlDataSource1.Name = "sqlDataSource1";this.sqlDataSource1.SelectCommand = resources.GetString("sqlDataSource1.SelectCommand");// // sqlDataSource2// this.sqlDataSource2.ConnectionString = "ReportPlugin.Properties.Settings.Development";this.sqlDataSource2.Name = "sqlDataSource2";this.sqlDataSource2.Parameters.AddRange(new Telerik.Reporting.SqlDataSourceParameter[] {new Telerik.Reporting.SqlDataSourceParameter("country.id", System.Data.DbType.Int32, "=Parameters.CountryId.Value")});this.sqlDataSource2.SelectCommand = resources.GetString("sqlDataSource2.SelectCommand");
private void chart1_NeedDataSource(object sender, EventArgs e){ Telerik.Reporting.Processing.Chart chart = sender as Telerik.Reporting.Processing.Chart; chart.DataSource = sqlDataSource2;}