W
WebBuilder451
i have this in an Insert Template
Relationship: <aspropDownList ID="ddlContactType" runat="server"
SelectedValue='<%# Bind("IContactType") %>'
DataSourceID="odsContactType"
DataTextField="SzDesc" DataValueField="IID">
</aspropDownList>
The same is in the edit template and it works fine. but if i include it in
the insert template i get this error: Databinding methods such as Eval(),
XPath(), and Bind() can only be used in the context of a databound control.
am i doing something wrong? the textboxes bind without error?
--
(i''ll be asking a lot of these, but I find C# totally way cooler than vb
and there''s no go''n back!!!)
thanks (as always)
kes
Relationship: <aspropDownList ID="ddlContactType" runat="server"
SelectedValue='<%# Bind("IContactType") %>'
DataSourceID="odsContactType"
DataTextField="SzDesc" DataValueField="IID">
</aspropDownList>
The same is in the edit template and it works fine. but if i include it in
the insert template i get this error: Databinding methods such as Eval(),
XPath(), and Bind() can only be used in the context of a databound control.
am i doing something wrong? the textboxes bind without error?
--
(i''ll be asking a lot of these, but I find C# totally way cooler than vb
and there''s no go''n back!!!)
thanks (as always)
kes