Webcombo return error when trying to populate based on another WebCombo
Posted
by mattgcon
on Stack Overflow
See other posts from Stack Overflow
or by mattgcon
Published on 2010-04-30T20:45:34Z
Indexed on
2010/04/30
20:47 UTC
Read the original article
Hit count: 272
I have a few webcombo boxes that are hierachial:
Continent Country
When the form loads everything works fine, when I change the continent the first time, the country repopulates correctly. However if I change the continent a second time I receive an error:
Specified argument was out of the range of valid values.Parameter name: The DataValueField of ValueField was not found in the Columns collection.
Can anyone tell me why?
P.S. This is all I have in the Page_Load event
if (!IsPostBack)
{
this.Load_AreaList();
this.Load_AreasOfInterest();
this.Load_Degrees();
this.Load_GenderList();
this.Load_ParticipationDateModifiers();
this.Load_ProgramCategories(nEventID);
this.Load_YesNoList();
this.Load_ParticipantInformation(nParticipantID);
}
© Stack Overflow or respective owner