Hi there
I just installed Telerik reporting Q2 2009 and I have a problem with new Table control ColumnHeadersPrintOnEveryPage
property. I want to bind a data source to my table programmatically. Its a simple table with 2 columns:(PersonnelID, PersonnelName). Here is what I do for data binding:
I use default rows and columns of table control and just in header row cells write the header text for each column and in details row bind each cell to it's related feild using "=Fields.FieldName". Every thing is ok and table shows my expected data but ColumnHeadersPrintOnEveryPage property doesn’t work Correctly and column header just appear in first page while this property is true. When I use a TableWizard and a sqlDatasource as Datasource this property work correctly and column headers appear in every page. I search forums and read documents but can't find any solution. Is this a bug or I'm in a wrong way?
I just installed Telerik reporting Q2 2009 and I have a problem with new Table control ColumnHeadersPrintOnEveryPage
property. I want to bind a data source to my table programmatically. Its a simple table with 2 columns:(PersonnelID, PersonnelName). Here is what I do for data binding:
public Report5() |
{ |
InitializeComponent(); |
SqlConnection sqlConnection1 = new SqlConnection(); |
SqlCommand sqlSelectCommand1 = new SqlCommand(); |
SqlDataAdapter sqlDataAdapter1 = new SqlDataAdapter(); |
sqlConnection1.ConnectionString = myconnectionString; |
sqlSelectCommand1.CommandText = mycommand; |
sqlSelectCommand1.Connection = sqlConnection1; |
sqlDataAdapter1.SelectCommand = sqlSelectCommand1; |
this.table1.DataSource = sqlDataAdapter1; |
} |
I use default rows and columns of table control and just in header row cells write the header text for each column and in details row bind each cell to it's related feild using "=Fields.FieldName". Every thing is ok and table shows my expected data but ColumnHeadersPrintOnEveryPage property doesn’t work Correctly and column header just appear in first page while this property is true. When I use a TableWizard and a sqlDatasource as Datasource this property work correctly and column headers appear in every page. I search forums and read documents but can't find any solution. Is this a bug or I'm in a wrong way?