Professional Web Applications Themes

Wierd error when going to Design View from HTML view - ASP.NET General

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

  1. #1

    Default Wierd error when going to Design View from HTML view

    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 Guest

  2. #2

    Default Re: Wierd error when going to Design View from HTML view

    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" <growNO-SPAMgo-intech.com> wrote in message
    news:en2fcYvRDHA.2252TK2MSFTNGP12.phx.gbl...
    > 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 Guest

Similar Threads

  1. ssi in design view
    By t5b2 in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 1
    Last Post: May 11th, 01:31 AM
  2. DW Split View - Design View
    By kscap in forum Macromedia Exchange Dreamweaver Extensions
    Replies: 0
    Last Post: May 1st, 06:00 PM
  3. Need to update other WebControls when switching from html to design view
    By robert.minter@tallan.com in forum ASP.NET Building Controls
    Replies: 2
    Last Post: July 21st, 01:50 AM
  4. Add controls to my custom control with tags in HTML design view
    By Don in forum ASP.NET Building Controls
    Replies: 0
    Last Post: July 16th, 02:03 AM
  5. html file shouldn't open in design view
    By ramu_dzyner in forum Dreamweaver AppDev
    Replies: 2
    Last Post: March 30th, 12:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139