In the @control directive, try to specify a separate classname for each..
<%@Control ClassName="EditForm" ... %>
<%@ Control ClassName="Blah" ... %>
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"MilanB" <Mi****@discussions.microsoft.com> wrote in message
news:EA**********************************@microsof t.com...
Hello
I'm asking is it possible that two or more Web User Control have same file
(.ascx) name within same project? Namespace is different.
I got error message: "CS1595: 'ASP.EditForm_ascx' is defined in multiple
places;"
I know that I have two controls EditForm, in different namespaces, but
with
same file name: "EditForm_ascx"
If it is of any importance, I use both user controls on same page.
Thanks
MilanB