I think that as long as the user control is contained in a "parent element"
(e.g. somewhere in the <body> </body> of a web form) then you're fine.
Visual studio seems to be confused on some of those warnings since it
doesn't always have the complete html for the web page as it is parsing.
--
Mike Mayer, C# MVP
mi**@mag37.com http://www.mag37.com/csharp/
<fo******@yahoo.co.uk> wrote in message
news:ac**************************@posting.google.c om...
Hi
I want to have a div as the main element of a user control, I'll be
manipulating this div via javascript within that file.
At the moment I get the message:
Per the active schema, the element 'div' must be included within a parent
element.
Do I need to contain the div within something else
Ta
F