Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > VS.Net HTML Editor and embedded script tags

Reply
Thread Tools

VS.Net HTML Editor and embedded script tags

 
 
Rick Strahl [MVP]
Guest
Posts: n/a
 
      08-03-2003

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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
All style tags after the first 30 style tags on an HTML page are not applied in Internet Explorer Rob Nicholson ASP .Net 3 05-28-2005 03:11 PM
HTML Editor , embedded images and CIDs Ike Java 0 01-22-2005 01:37 AM
ANN: New low-cost XML Editor, XSLT Editor, XSLT Debugger, DTD/Schema Editor Stylus Studio Java 0 08-03-2004 03:53 PM
RegEx to find CFML tags nested in HTML tags Dean H. Saxe Perl 0 01-03-2004 06:11 PM



Advertisments