T
Thomas R
Is is possible?
In VS.NET 2003, Binding data to the repeater is easy, but when I try to add
an ASP:checkbox to the .aspx page, the designer won't recognize it, hence
the code view doesn't allow me to access it. The funny thing is that it
compiles fine, and the checkboxes are there, I just can't write to them!
Is there a way around this problem?
My HTML is as follows:
<asp:Repeater ID="Overview" Runat="server" Visible="False">
<ItemTemplate>
<tr>
<td width="200">
<asp:CheckBox ID="chkModule" Enabled=True Runat="server"
Text='<%#DataBinder.Eval(Container, "DataItem.Module")%>'>
</asp:CheckBox>
</td>
<td>
Pris:
<%#DataBinder.Eval(Container, "DataItem.Price")%>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
This compiles fine, but if I go to the code view and tries to write
"this.chkModule...." it isn't recognized!
Thanks for your help,
Thomas Regin.
In VS.NET 2003, Binding data to the repeater is easy, but when I try to add
an ASP:checkbox to the .aspx page, the designer won't recognize it, hence
the code view doesn't allow me to access it. The funny thing is that it
compiles fine, and the checkboxes are there, I just can't write to them!
Is there a way around this problem?
My HTML is as follows:
<asp:Repeater ID="Overview" Runat="server" Visible="False">
<ItemTemplate>
<tr>
<td width="200">
<asp:CheckBox ID="chkModule" Enabled=True Runat="server"
Text='<%#DataBinder.Eval(Container, "DataItem.Module")%>'>
</asp:CheckBox>
</td>
<td>
Pris:
<%#DataBinder.Eval(Container, "DataItem.Price")%>
</td>
</tr>
</ItemTemplate>
</asp:Repeater>
This compiles fine, but if I go to the code view and tries to write
"this.chkModule...." it isn't recognized!
Thanks for your help,
Thomas Regin.