G
Guest
Hi,
I have a datalist in an aspx file. Everything was fine, and I just wanted to
change a background color.
Suddenly from a one moment, the datalist is not rendered on the screen
anymore, while the application is running. When I check source output, there
is no code for a datalist (table).
I don’t understand what happened, as the HTML code seems to be fine.
Here is the simplified version of my datalist. What is weird, when I put the
breakpoint into Page_Load method in a code behind file, the application will
not stop there, like the code would not be running.
<body>
<form id="articles" method="post" runat="server">
<mnbr:mainbar id="Mainbar1" runat="server"></mnbr:mainbar><br>
<asp:datalist id="ArticlesList" runat="server" Width="223px"
Font-Names="Arial" Font-Size="10pt" HorizontalAlign="Left" CellSpacing="1"
CellPadding="0" SelectedItemStyle-BackColor="dimgray" EnableViewState="false"
Visible="true">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "Name") %>
</ItemTemplate>
</asp:datalist>
</form>
</body>
Does anybody have any suggestion please? Is it VS related problem? i am
using MS VC 2002.
Thanks,
Lubomir
I have a datalist in an aspx file. Everything was fine, and I just wanted to
change a background color.
Suddenly from a one moment, the datalist is not rendered on the screen
anymore, while the application is running. When I check source output, there
is no code for a datalist (table).
I don’t understand what happened, as the HTML code seems to be fine.
Here is the simplified version of my datalist. What is weird, when I put the
breakpoint into Page_Load method in a code behind file, the application will
not stop there, like the code would not be running.
<body>
<form id="articles" method="post" runat="server">
<mnbr:mainbar id="Mainbar1" runat="server"></mnbr:mainbar><br>
<asp:datalist id="ArticlesList" runat="server" Width="223px"
Font-Names="Arial" Font-Size="10pt" HorizontalAlign="Left" CellSpacing="1"
CellPadding="0" SelectedItemStyle-BackColor="dimgray" EnableViewState="false"
Visible="true">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "Name") %>
</ItemTemplate>
</asp:datalist>
</form>
</body>
Does anybody have any suggestion please? Is it VS related problem? i am
using MS VC 2002.
Thanks,
Lubomir