RadioButtonList

J

Jim McGivney

On an asp.net2 page I have a DropDownList in the item template of a
databound template of a DetailsView control.
Everything works fine if the databound value is a member of the items-list
of the DropDownList.
But, when a value not on the list, typically a null value is encountered an
error is thrown.
How can I have the DropDownList accept null values ?
How can I have the DropDownList check for and handle values not on the item
list ?
Thanks in advance for your help,
Jim
 
R

Riki

Jim said:
On an asp.net2 page I have a DropDownList in the item template of a
databound template of a DetailsView control.
Everything works fine if the databound value is a member of the
items-list of the DropDownList.
But, when a value not on the list, typically a null value is
encountered an error is thrown.
How can I have the DropDownList accept null values ?
How can I have the DropDownList check for and handle values not on
the item list ?
Thanks in advance for your help,
Jim

See http://weblogs.asp.net/hpreishuber/archive/2006/02/02/437158.aspx for a
solution to this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top