VS.Net HTML Editor and embedded script tags

Discussion in 'ASP .Net' started by Rick Strahl [MVP], Aug 3, 2003.

  1. Does anybody know how to get VS.Net to show the visual designer with the
    following code:

    <input type="button" value="Buy" AccessKey="B"
    onclick="SubmitItem('<%# DataBinder.Eval(Container,
    "DataItem.Sku").ToString().Trim() %>',document.forms['Form1'].<%#
    DataBinder.Eval(Container, "DataItem.Sku").ToString().Trim() %>_qty.value)"
    >


    I get the following error:

    Could not open in Design View. Quote values differently inside a '<%...
    "value" ... %>' block.

    Usually I can play around with different quote characters for the client
    side code but in this case it doesn't work.

    Any ideas?

    +++ Rick ---

    --

    Rick Strahl
    West Wind Technologies
    http://www.west-wind.com/
    http://www.west-wind.com/wwHelp
    ----------------------------------
    Making waves on the Web
     
    Rick Strahl [MVP], Aug 3, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Dean H. Saxe
    Replies:
    0
    Views:
    1,070
    Dean H. Saxe
    Jan 3, 2004
  2. Rob Nicholson
    Replies:
    3
    Views:
    813
    Rob Nicholson
    May 28, 2005
  3. Stylus Studio
    Replies:
    0
    Views:
    736
    Stylus Studio
    Aug 3, 2004
  4. Ike
    Replies:
    0
    Views:
    348
  5. Donald Firesmith

    html tags within meta tags allowed?

    Donald Firesmith, Jan 5, 2005, in forum: XML
    Replies:
    5
    Views:
    929
    Andy Dingley
    Jan 8, 2005
Loading...

Share This Page