Wierd error when going to Design View from HTML view

  • Thread starter Thread starter VB Programmer
  • Start date Start date
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
 
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??
 
Back
Top