Hello,
I am using an ObjectDataSourc e 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 <trand 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>
<asp:DropDownLi st ID="SiteDropDow n" runat="server"
SelectedValue=' <%# Bind("TXSITE") %>' DataSourceID="S iteDataSource"
DataTextField=" TXSITE" DataValueField= "TXSITE" ></asp:DropDownLis t>
</td>
</tr>
I am using an ObjectDataSourc e 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 <trand 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>
<asp:DropDownLi st ID="SiteDropDow n" runat="server"
SelectedValue=' <%# Bind("TXSITE") %>' DataSourceID="S iteDataSource"
DataTextField=" TXSITE" DataValueField= "TXSITE" ></asp:DropDownLis t>
</td>
</tr>
Comment