08-02-05 11:02 PM
I used FP2003 to create an asp.net database editor for an MS sql db. I have
two problems: 1. If I break the db editor down to sections of 5 items, when
an item is searched with a list of 3 or less a runtime error occurs
"[HttpException (0x80004005): An error has occurred because a control wi
th
auto-generated id 'ResultsGrid:_ctl6:_ctl0' could not be located to raise a
postback event. To avoid this error, explicitly set the ID property of
controls that raise postback events.]
Can anyone tell me how to change this postback event?
2. Dropdown list work until a different item is selected in the dd list.
Here is the error -
HttpException (0x80004005): A DropDownList cannot have multiple items
selected.] If I change the ListItem item =
((DropDownList)control).Items.FindByValue( sValue );if(item !=
null){item.Selected = false; to false in the fpdbnet.cs I don’t get t
he
error; however, items from the db are not pulled into the db editor. Does
anyone have a fix?
--
DJK
[ Post a follow-up to this message ]
|