How to use HtmlEncode w/Ext controls

'Escaping script Tags in String Literals' tutorial was cited in an Ext.NET forum message posted in 2010.

The Escaping 'script' Tags in String Literals tutorial was cited in an Ext.NET forum message posted in 2010.

Subject: How to use HtmlEncode w/Ext controls
Date: Aug 17, 2010
Author:  vladsch
Source: http://forums.ext.net/showthread.php
   ?9632-How-to-use-HtmlEncode-w-Ext-controls&p=38590

1. You cannot use string literal "</script>" in the script block.
It crashes browser parser therefore you have to encode such string
http://webcache.googleusercontent.com/search?q=cache:IROp2tP7qw0J...
https://www.herongyang.com/JavaScript
   /Browser-Escape-Script-Tag-in-String-Literal.html

2. Use Html property of the Ext:Label instead Text for encoded text
...

Table of Contents

 About This Book

 Reference Citations in 2023

 Reference Citations in 2022

 Reference Citations in 2021

 Reference Citations in 2020

 Reference Citations in 2019

 Reference Citations in 2018

 Reference Citations in 2017

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

 Reference Citations in 2013

 Reference Citations in 2012

 Reference Citations in 2011

Reference Citations in 2010

 made a mistake and deleted USBSTOR service

How to use HtmlEncode w/Ext controls

 LONG RAW + ORA-00984 - Column not allowed here?

 How to change default character encoding for Cyrillic

 2 ways ssl not working: bad certificate

 [windows_internals]Services, Part I: service overview

 SSL: Received fatal alert: certificate_unknown Problem

 Queue can not be created at runtime

 Getting Up and Running with OpenMoco Slim

 Second Life: Twitter OAuth Library

 Formating of SQL value for BLOB types (as hex vs ascii-bytes)

 Bug #51165: Using XSD_ANYTYPE removes method response tags...

 WLS : JDBC : oracle.sql.CLOB type

 How to Get Rid of the NetZero Task Bar

 How can I use a pfx keystore with stoneware?

 Apache Camel: Crypto

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

 Reference Citations in 2004

 Reference Citations in 2003