Parser error: Ambigous match found

I

Iker Llanos

I've created a control thta contains a collection. At design time the control says "Parser error: ambigous match found" and when I compile the same error appears. The HTML code is:

<HTML><HEAD><title>WebForm1</title><meta content="Microsoft Visual Studio 7.0" name="GENERATOR"><meta content="C#" name="CODE_LANGUAGE"><meta content="JavaScript" name="vs_defaultClientScript"><meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema"></HEAD><body ms_positioning="GridLayout"><form id="Form1" method="post" runat="server"><cc2:CSWebFormView id="CSWebFormView1" runat="server" Width="262px" Height="214px"><DataSourceBindings><cc2:CSDataSourceBinding Name="CSDataSourceBinding0" ><RowDefinitions><cc2:CSRowDefinition Name="CSRowDefinition0" ></cc2:CSRowDefinition><cc2:CSRowDefinition Name="CSRowDefinition1" ></cc2:CSRowDefinition></RowDefinitions></cc2:CSDataSourceBinding><cc2:CSDataSourceBinding Name="CSDataSourceBinding1" ></cc2:CSDataSourceBinding></DataSourceBindings></cc2:CSWebFormView></form></body></HTML>
 
A

Alessandro Zifiglio

Remove the control declaration manually in your code behind file and try
again. YOu must have deleted the control in html view which does not
automatically remove the control declaration from your code behind file.
Your control finds an ambigous match as you add it on your page coz it
tries to add a declaration to it in your code behind and the old delaration
is still there with the same control name ;P


Iker Llanos said:
I've created a control thta contains a collection. At design time the
control says "Parser error: ambigous match found" and when I compile the
same error appears. The HTML code is:
<HTML><HEAD><title>WebForm1</title><meta content="Microsoft Visual Studio
7.0" name="GENERATOR"><meta content="C#" name="CODE_LANGUAGE"><meta
content="JavaScript" name="vs_defaultClientScript"><meta
content="http://schemas.microsoft.com/intellisense/ie5"
name="vs_targetSchema"></HEAD><body ms_positioning="GridLayout"><form
id="Form1" method="post" runat="server"><cc2:CSWebFormView
id="CSWebFormView1" runat="server" Width="262px"
Height="214px"><DataSourceBindings><cc2:CSDataSourceBinding
Name="CSDataSourceBinding0" ><RowDefinitions><cc2:CSRowDefinition
Name="CSRowDefinition0" > said:
</cc2:CSRowDefinition></RowDefinitions></cc2:CSDataSourceBinding><cc2:CSDat
aSourceBinding Name="CSDataSourceBinding1"
</cc2:CSDataSourceBinding></DataSourceBindings></cc2:CSWebFormView></form><
/body></HTML>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top