DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sat, 18 Aug 2007 14:26:05 -0500,    posted on: microsoft.public.dotnet.framework.aspnet.webcontrols        back       

Thread Index
  1    Jim McGivney
          2    Riki


RadioButtonList   
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
Date:Sat, 18 Aug 2007 14:26:05 -0500   Author:  

Re: RadioButtonList   
Jim McGivney wrote:

> 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.

-- 

Riki
Date:Tue, 21 Aug 2007 14:50:11 +0200   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us