Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx_professional thread: RE: aspx_professional digest: February 03, 2002


Message #1 by "McCloy, Russell" <Russell.McCloy@B...> on Mon, 4 Feb 2002 11:03:57 +1100
Have a look at the tutorials on www.dotnetjunkies.com

-----Original Message-----
From: ASPX_Professional digest [mailto:aspx_professional@p...]
Sent: Monday, 4 February 2002 11:01 AM
To: aspx_professional digest recipients
Subject: aspx_professional digest: February 03, 2002


-----------------------------------------------
When replying to the digest, please quote only
relevant material, and edit the subject line to
reflect the message you are replying to.
-----------------------------------------------

The URL for this list is:
http://p2p.wrox.com/list.asp?list=aspx_professional

ASPX_PROFESSIONAL Digest for Sunday, February 03, 2002.

1. DropDownList in <EditItemTemplate>

----------------------------------------------------------------------

Subject: DropDownList in <EditItemTemplate>
From: "Henri von Franquemont" <hvonfranquemont@m...>
Date: Sun, 3 Feb 2002 15:23:16 -0000
X-Message-Number: 1

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







---

END OF DIGEST

$subst('Email.Unsub').

  Return to Index