locked
Can't find any difference between Localize and Literal control RRS feed

  • Question

  • User-355887513 posted

    Hi,

    I've read the MSDN page describing the Localize control and read about the difference between designers in the following link:

    http://my.safaribooksonline.com/0321341384/app01lev2sec53 

    Still, I can't find any visual difference between the Localize and Literal control in the designer view of VS 2010.

    I've tried using explicit and implicit expressions in an aspx and the designer looks the same for both controls - shows the neutral culture resource.

    I've looked at the LocalizeDesigner code in reflector and the only thing the designer seems to localize is the HTML format of the outputed span control, and that seems irellevant to the designer.

    Can anyone attach a short example that demonstrate when the two controls behave differently?

     

    Thanks,

    Ido.

    Friday, August 6, 2010 5:56 AM

All replies

  • User-1200560727 posted

    Go through below link:

    http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_23207508.html

    Friday, August 6, 2010 8:19 AM
  • User-355887513 posted

    As I Mentioned, I've read about both controls in the MSDN and in blogs, looked at their source code in reflector, tried to use both of them with local resources (implicitly and explicitly) and they both act the same in design mode and in runtime mode. 

    As I understand, the difference between them should only be visible in design mode, but I didn't see any difference in neither VS 2010 and in VS 2008 (.net 4 and .net 3.5).

    Does any one have any example that shows how using both controls causes the design view of an aspx page to show different content for the literal and localize control?

     

    Friday, August 6, 2010 8:30 AM