DataField problem

Results 1 to 2 of 2

Thread: DataField problem

  1. #1
    Join Date
    Dec 1969

    Default DataField problem

    I was binding collection of objects to DataGrid control, asigning object&#039;s properties to DataFields. Everything works fine, untill one of the properties was an object itself with it&#039;s own properties. The code:<BR><BR>"&#060;asp:BoundColumn DataField="Profile.ProfileKey"<BR><BR>throws an exception "A field or property with the name &#039;Profile.ProfileKey&#039; was not found on the selected datasource"<BR><BR>Is there any way to link them?

  2. #2
    Join Date
    Dec 1969

    Default RE: DataField problem

    You might try turing your databound columns into template columns. That way you have more control over what shows up where.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts