This is a migrated thread and some comments may be shown as answers.

Datamember not applied

1 Answer 96 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Michel De Clercq
Top achievements
Rank 1
Michel De Clercq asked on 21 Aug 2012, 06:56 AM
Hello,

I have implemented a datasource and datamember to display the data into the grid.

On my windows 7 PC everything works ok. The datasource and datamember is applied. When I run the application directly or from my Visual studio the datamember is not applied.

 

 

With Me.rdGridBoundaries
    .BeginUpdate()
    .Columns.Clear()
    .MasterTemplate.AllowAddNewRow = False
    .MasterTemplate.AutoGenerateColumns = True
    .MasterTemplate.Reset()
    .TableElement.RowHeight = 30
    .AutoGenerateHierarchy = True
    .UseScrollbarsInHierarchy = False
    .MultiSelect = False
    .MasterTemplate.BestFitColumns()
    .MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill
    .ReadOnly = True
    .EnableFiltering = False
    .EnableGrouping = False
    .EnableAlternatingRowColor = True
    .EndUpdate()
    Try
        If gasControlLineInformation.GclObjects IsNot Nothing Then
            .DataMember = "GclObjects"
            .DataSource = gasControlLineInformation

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 23 Aug 2012, 04:01 PM
Hi Michel,

Please see the answer to your inquiry in your support thread "Datamember not applied".

Regards,
Julian Benkov
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Michel De Clercq
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or