Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP and ' does not work

Tags:

asp.net

I am not an ASP expert, just trying to help a friend.

It the past, HTML,I use ' for apostrophes in text.

Using the following it renders fine in Firefox but incorrect in IE 7.

asp:LinkButton ID="AceFrehley95Button" Text="Ace Frehley ' 95" OnCommand="lbtnSubMenu_Command" CommandArgument="AceFrehley95.wmv" Runat="Server"

In Firefox it renders: Ace Frehley '95

In IE 7 it renders: Ace Frehley &apos 95

How do I make IE render what Firefox does......

Jason

like image 889
Toddly Avatar asked Mar 04 '09 03:03

Toddly


People also ask

What is ASP and ADO?

ADO.NET provides different objects like Connection, Command, DataSet, etc., mainly designed to encapsulate all the data access-related processes. These objects also control all interactions with the database to display data. Acronym. ASP means Active Server Pages.

What is ASP vs HTML?

ASP is a server-side language. This means that the code that is written gets sent to the server, and it returns some code depending on what it was asked to do. HTML is a client-side language. Basically it has to do with the user interface, with which the user interacts.

What does .ASP mean in a URL?

ASP stands for Active Server Page. It is a technology that enables you to make dynamic and interactive web pages. ASP uses server-side scripting to dynamically produce webpages that are not affected by the type of browser the visitor is using. ASP pages have the extension .

What is ASP and its uses?

ASP.NET is a free web framework for building great websites and web applications using HTML, CSS, and JavaScript. You can also create Web APIs and use real-time technologies like Web Sockets. ASP.NET Core is an alternative to ASP.NET.


2 Answers

HTML doesn't actually have a ' entity. A lot of browsers support it (probably because it is a part of XHTML), but "officially" it doesn't exist. You should use ' instead.

like image 134
mipadi Avatar answered Oct 03 '22 06:10

mipadi


You could also try:

’

Which renders as:

like image 26
GregD Avatar answered Oct 03 '22 04:10

GregD