Forum Moderators: open
For example :
Line 81, column 29: value of attribute "ID" invalid: "_" cannot start a name<div id="_ctl0__ctl0_leftColumn" class="leftColumn">
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
The bad thing is that they are soo much, that it interfers in my review of more "real" errors.
What do you usually to to avoid this?
What's the common practice?
Make sure all of your controls have IDs
<Test:Grd runat="server" [b]id="test01"[/b] />
if the id is missing, it will generate a name with a leading underscore, but with a name it will generally be something like id:sub_id:_control#x:_control#y
like:
<input type="submit" name="test01:grdStores:_ctl2:_ctl0" value="Edit" />