How do I use an escape sequence in a hyperlink?

  • Thread starter Thread starter jm
  • Start date Start date
J

jm

I have this:

<asp:hyperlink ....Text='Women's' />

It keeps telling me server tag not well formed. If I take the
apostrophe out of the text property it works. I have tried:

'Women\'s'

and it does not work.

Thanks for any help.
 
Hi,

Steve said:
try: -

<asp:hyperlink ....Text='Women"s' />

Steve

I think you mean

<asp:hyperlink ... Text="Women's" />

HTH,
Laurent
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top