Wierd error when going to Design View from HTML view

Ask a Question related to ASP.NET General, Design and Development.

  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. Similar Questions and Discussions

    1. XSL and design view
      I REPOST this, is there no body who can help ?? Its really VERY VERY annoying ! I must add that also the small tags dw puts if things like...
    2. DW Split View - Design View
      When working in DW in Split View, when the user clicks into the Design View window the view automatically updates the view if code view has changed....
    3. Need to update other WebControls when switching from html to design view
      Hello all, I have a set of WebControls that have a common base class where the base class contains a "bool" property that all controls on a...
    4. Add controls to my custom control with tags in HTML design view
      I have created a custom control but would like to add other controls to it at design time. I want to be able to put custom control tags inside the...
    5. html file shouldn't open in design view
      Hi dudes. yup that is my question. is it possible to make a html file but that should not open in design view of dreamwever. u should have to go...
  3. #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-SPAM@go-intech.com> wrote in message
    news:en2fcYvRDHA.2252@TK2MSFTNGP12.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

Posting Permissions

  • You may not post new threads
  • You may 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