D
Daniel Jeffrey
Hello,
I am using an ObjectDataSource with a Custom DataObject etc.
Everything is working fine, except when I use a Bound control in a Table Row
that is runat="server"
As you can see below - i have commented out the code that causes this to
fail. Eg when i remove <tr> and replace with the commented out line, the
binding does not update.
It works for showing the data, just not updating the CustomObject.
Please help.
<%--<tr style="text-align: left" runat="server" id="SiteTR">--%>
<tr>
<td>
<strong>Site : </strong>
</td>
<td>
<aspropDownList ID="SiteDropDown" runat="server"
SelectedValue='<%# Bind("TXSITE") %>' DataSourceID="SiteDataSource"
DataTextField="TXSITE" DataValueField="TXSITE" ></aspropDownList>
</td>
</tr>
I am using an ObjectDataSource with a Custom DataObject etc.
Everything is working fine, except when I use a Bound control in a Table Row
that is runat="server"
As you can see below - i have commented out the code that causes this to
fail. Eg when i remove <tr> and replace with the commented out line, the
binding does not update.
It works for showing the data, just not updating the CustomObject.
Please help.
<%--<tr style="text-align: left" runat="server" id="SiteTR">--%>
<tr>
<td>
<strong>Site : </strong>
</td>
<td>
<aspropDownList ID="SiteDropDown" runat="server"
SelectedValue='<%# Bind("TXSITE") %>' DataSourceID="SiteDataSource"
DataTextField="TXSITE" DataValueField="TXSITE" ></aspropDownList>
</td>
</tr>