Wierd error when going to Design View from HTML view

V

VB Programmer

When I go from HTML view (in a webform) to Design View I get the following
error:
Could not open in Design view. Quote values differently inside a '<% ...
"value" ... %>' block.

I know exactly where it is. All I did was change the PARAM value of an
OBJECT from this:
<PARAM NAME="MyValue" VALUE="20">
to this:
<PARAM NAME="MyValue" VALUE="<% = Request.QueryString("Value1") %>">

The reason I changed the value is that I want the OBJECT to change it's
value, MyValue, based on what I send it in the querystring.

Any ideas? Better ways to do this?

Thanks,
Robert
 
V

VB Programmer

Using single quotes for Value1 allowed me to goto Design View.

BUT, when I went back to HTML view it CHANGED my VALUE to VALUE="0" and
ERASED what I scripted.

Any ideas?? Can I do this programatically??
 

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

Members online

Forum statistics

Threads
473,733
Messages
2,569,439
Members
44,829
Latest member
PIXThurman

Latest Threads

Top