asp.net question

  • Thread starter Thread starter Zi Jong
  • Start date Start date
Z

Zi Jong

hi when i open a file in asp.net i get the following error.
could not open in design view . place quotes around a <% %> block used as an
attrbute value or within a <select> element. what is the problem and how can
i solve it

thnx
 
Hi,

This could be because of overlapping quotes (single-quote or double-quote)
in tag attribute values. Open the file in HTML view mode (or in Notepad) and
make sure all attribute values are enclosed in single-quotes and
double-quote is used inside the attribute value (if required).

HTH.

hi when i open a file in asp.net i get the following error.
could not open in design view . place quotes around a <% %> block used as an
attrbute value or within a <select> element. what is the problem and how can
i solve it

thnx
 
Hi,

The problem is cause you added some asp.net code to the page and now the
designer don;t know how to handle it, do as it says , place "" around the
attributes values you are using .
If not post the page code here.

Cheers,
 
Hi Zi Jong
This is mostly because of an HTML error inside the page and this
error make the designer is not able to configure correct layout of the
page. Try to open the page in HTML view and try to locate the syntax error
As the error message indicate you may have double quotes around an
attribute .. hope that helps
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Back
Top