This is a multi-part message in MIME format.
------=_NextPart_000_0001_01C1ACC6.B8B89090
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,
I am trying to provide users with a dropdownlist when editing data in a
DataGrid control. Before the user clicks on 'Edit', the original value
is displayed in a Label. I have created DataViews for both the entire
DataGrid and the individual DropDownList to bind to. The DataGrid is
displayed fine when it opens up, but throws an error when clicking the
'Edit' button. It doesn't seem to want to bind the DropDownList in the
<EditItemTemplate> to my DataView that I created for it and gives me
"Value null was found where an instance of an object was required."
What am I doing wrong? Does this situation require a different approach?
Can anyone tell me how to specifically bind a DataView to a control in
the <EditItemTemplate>? Should I use 'OnItemDataBound' ?
Thx,
Henri