Re: Bug in asp:Table ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.



"Patrice" wrote:

As for values, do you mean you have no resources at all in your resource
file (i.e no lines in the resource grid ?) or do you mean you have resources
with an empty string ?

For example localizing TableCellResource8.Text with an empty string would
reproduce the same behavior...

--
Patrice

"Patrice" <http://www.chez.com/scribe/> a crit dans le message de groupe de
discussion : 26F7E024-17AC-46B0-844F-0EBE6300C876@xxxxxxxxxxxxxxxx
Works fine here (VS 2008 Dev Web Server).

I would try to keep meta:resourceKey and to delete all resource files to
see if it seems to come from the meta tag or from the resource file
content...

--
Patrice

"Lubomir" <Lubomir@xxxxxxxxxxxxxxxxxxxxxxxxx> a crit dans le message de
groupe de discussion :
D3FDCD91-C63F-421E-BE03-DAC0054CF5BE@xxxxxxxxxxxxxxxx
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



.



Relevant Pages

  • Re: Copying resources
    ... You can copy the resources to a project if you open both resource files ... That should open it as a new window (like a file ... you may lose the resources you drag out of it. ...
    (microsoft.public.vc.mfc)
  • Re: Loading string resource from a file
    ... Simon Hart ... "dev15" wrote: ... other language resources) to the Properties folder under your ... I have resource files for German and English called ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Allocating resources to tasks
    ... resources to them based on some form of work type and skills grouping? ... check if I can't simply add tasks, tag  them, then add resources, tag ... Please see FAQ Item: 52 Find a Forum. ...
    (microsoft.public.project)
  • Re: Using images on windows forms, stored in a dotnet assembly (dll).
    ... In order to store the images/icons to resource files and from them create ... the satellite assemblies, do I have to write a separate program that does ... Can I Create the .resources, or whatever file is needed, using the VS ... I can just repeat the code that the forms designer generates when creating a ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Allocating resources to tasks
    ... resources to them based on some form of work type and skills grouping? ... a "manual labourer" MSP can then automatically add him to the task and ... check if I can't simply add tasks, tag  them, then add resources, tag ... Please see FAQ Item: 52 Find a Forum. ...
    (microsoft.public.project)