Bug in asp:Table ?

  • Thread starter Thread starter Lubomir
  • Start date Start date
L

Lubomir

Hi,

I have the table like below:

<asp:Table ID="tblControls" runat="server" HorizontalAlign="Center"
Width="768px"
Font-Names="Tahoma" Font-Size="Small" BorderStyle="Solid"
BorderColor="Cyan"
BorderWidth="1px" meta:resourcekey="tblControlsResource1">
<asp:TableFooterRow meta:resourcekey="TableFooterRowResource1"
runat="server">
<asp:TableCell ColumnSpan="3" Height="50"
HorizontalAlign="Center" VerticalAlign="Bottom"
meta:resourcekey="TableCellResource8" runat="server">
<asp:Button ID="TestButton" runat="server" Text="Some
text" meta:resourcekey="ButtonResource1" />
</asp:TableCell>
</asp:TableFooterRow>
</asp:Table>

The button TestButton is not rendered at all. When I remove the meta tag
meta:resourcekey="TableCellResource8 from the "table cell" everything works
fine. The removed metatag has no value assigned in the resources. So doesn't
have TableFooterRoweResource1 neither ButtonResource1.

Is it a bug in rendering for the asp table, or am I missing something?

Thanks,
Lubomir
 
I mean I have resources with an empty string.

Only the meat tag in the "cell" element causes these problems.

I am using VS 2008 Professional on Vista 64 OS.
 
Even if I assign some text to the the cell localized resource, it doesn't
render the button, even the text will appear.

If I delete the cell localized resource entry from the aspx.resx file, it
works fine and botton control will show up in a browsser window.
 
Yes, when I delete the localized "empty" entry for that cell, it works fine.

Thanks for help,
Lubomir'
 
Back
Top