K
Karl-Inge Reknes
I have a page with a formview control who datasource is a objectdatasource.
In edit mode template I have tree dropdownlist; Year, Month and Day. Each
dropdownlist i populated from an objectdatasource object and is bind to
column in the formview control objectdatasource. The objectdatasource object
for dropdownlist Day have 2 arguments; Year and Month. The dropdownlist day
is populated with correct number of days for that month and year.
When changing Year or Month this error appear:
Databinding methods such as Eval(), XPath(), and Bind() can only be used in
the context of a databound control.
If I remove the binding for dropdownlist Day the error doesn’t appear, but
then I not able to save the Day Column
Is there anybody who can help me?
Karl-Inge Reknes
In edit mode template I have tree dropdownlist; Year, Month and Day. Each
dropdownlist i populated from an objectdatasource object and is bind to
column in the formview control objectdatasource. The objectdatasource object
for dropdownlist Day have 2 arguments; Year and Month. The dropdownlist day
is populated with correct number of days for that month and year.
When changing Year or Month this error appear:
Databinding methods such as Eval(), XPath(), and Bind() can only be used in
the context of a databound control.
If I remove the binding for dropdownlist Day the error doesn’t appear, but
then I not able to save the Day Column
Is there anybody who can help me?
Karl-Inge Reknes