Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to see ASP/VBScript variable names inline

Guide ,
Nov 02, 2012 Nov 02, 2012

When you use an ASP output in a form control (like <%=Submit_Button_Label%>), you can easily see on the page what you've done. This doesn't work for ASP outputs in the rest of the page--all you see are "ASP" graphics all over the place.

I'm in the process of externalizing all of the text on our ASP pages to variables for translation, and my choices seem to be having a completely unreadable page (where there are just a bunch of ASP labels and not much else) or using a structure like

<% If False Then 'so we can find it easily on the page, leave the original text

    %>

                    I accept and agree to abide by the Terms of Use

                    and Privacy Policy.

    <% Else %><%= TOS_Prompt %><% End If %>

so I can at least find things.

Is there a third option?

Thanks in advance!

Message was edited by: Amy Blankenship

TOPICS
Server side applications
938
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Nov 04, 2012 Nov 04, 2012
LATEST

How bout those crickets?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines