Wierd error when going to Design View from HTML view

Discussion in 'ASP .Net' started by VB Programmer, Jul 10, 2003.

  1. 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
     
    VB Programmer, Jul 10, 2003
    #1
    1. Advertising

  2. 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??

    "VB Programmer" <> wrote in message
    news:...
    > 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
    >
    >
     
    VB Programmer, Jul 10, 2003
    #2
    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. VB Programmer

    PLS HELP: HTML email = wierd results

    VB Programmer, Aug 31, 2004, in forum: ASP .Net
    Replies:
    8
    Views:
    496
    Rutger Smit
    Aug 31, 2004
  2. Robert Smith
    Replies:
    2
    Views:
    1,252
    Juan T. Llibre
    Apr 27, 2008
  3. Parthiv Joshi
    Replies:
    1
    Views:
    709
    Samuel L Matzen
    Jul 6, 2004
  4. Ziyad Makki
    Replies:
    1
    Views:
    362
    Harry F. Harrison
    Aug 23, 2004
  5. andspal

    Updates in Design view not moved to Source view

    andspal, Nov 2, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    186
    andspal
    Nov 2, 2006
Loading...

Share This Page