﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Ayende Rahien commented on Total Frustration: Ambiguous Match Exception with WebForms</title><description>@Markus,
  
It did, that is when we started to do a line by line change. I didn't even consider that line, forgot that I even had such a control
</description><link>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment9</link><guid>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment9</guid><pubDate>Tue, 10 Jul 2007 18:12:01 GMT</pubDate></item><item><title>Steven Harman commented on Total Frustration: Ambiguous Match Exception with WebForms</title><description>****@robert
: I used to prefix the controls with the ControlType like you suggest, but then its a mess when you change they type of control you're using. For instance, going from a Literal to a Label, or DropDownList to RadioButton, etc...
  
  
I've moved to a convention of prefixing the control names with ux, for User eXperience. This approach still results in nice groupings in IntelliSense while making the controls a bit more generic from the naming perspective.
</description><link>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment8</link><guid>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment8</guid><pubDate>Tue, 10 Jul 2007 14:14:43 GMT</pubDate></item><item><title>Jason Gerard commented on Total Frustration: Ambiguous Match Exception with WebForms</title><description>It's an error with the asp.net compiler. While C# is case sensitive, this compiler seems to not be.
  
  
You will also get those errors if you try to compile the virtual directory using the aspnet_compiler.exe command line tool.
  
  
The error happens when it's compiling the ASPX file and the CS file into a single unit.
</description><link>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment7</link><guid>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment7</guid><pubDate>Tue, 10 Jul 2007 11:46:02 GMT</pubDate></item><item><title>Markus Zywitza commented on Total Frustration: Ambiguous Match Exception with WebForms</title><description>Didn't it help to diff against the latest working revision. That's what I do even before I restart VS ;-)
</description><link>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment6</link><guid>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment6</guid><pubDate>Tue, 10 Jul 2007 06:44:10 GMT</pubDate></item><item><title>Mike commented on Total Frustration: Ambiguous Match Exception with WebForms</title><description>I had read about this issue a while back and suffix all controls with a '1'  like the designer creates to avoid this stuff and so I can reflect on view interfaces with a simple naming convention.
</description><link>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment5</link><guid>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment5</guid><pubDate>Tue, 10 Jul 2007 06:11:44 GMT</pubDate></item><item><title>Ayende Rahien commented on Total Frustration: Ambiguous Match Exception with WebForms</title><description>Not really, it was an error that occured only on runtime, no issue when compiling.
</description><link>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment4</link><guid>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment4</guid><pubDate>Tue, 10 Jul 2007 05:59:34 GMT</pubDate></item><item><title>robert commented on Total Frustration: Ambiguous Match Exception with WebForms</title><description>For me it helps to use prefixes. Txt, lbl, ddl, dg, dl etc. Mostly to group control for entillsense. Means that you collect the data from form, just start to type "txt"... and you see which text inputs need your care.
</description><link>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment3</link><guid>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment3</guid><pubDate>Tue, 10 Jul 2007 02:42:42 GMT</pubDate></item><item><title>Neal commented on Total Frustration: Ambiguous Match Exception with WebForms</title><description>Ahh the joy, we now use variables that refelct the control type as well as the content to stop this kind of issue - e.g. ProductsTextBox.
</description><link>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment2</link><guid>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment2</guid><pubDate>Tue, 10 Jul 2007 00:33:01 GMT</pubDate></item><item><title>Eber Irigoyen commented on Total Frustration: Ambiguous Match Exception with WebForms</title><description>so Resharper didn't help in that case?
</description><link>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment1</link><guid>http://ayende.com/2627/total-frustration-ambiguous-match-exception-with-webforms#comment1</guid><pubDate>Mon, 09 Jul 2007 22:29:45 GMT</pubDate></item></channel></rss>