From: Manu Temmerman-U. <man...@gm...> - 2006-03-21 06:31:59
|
Brian Lowe asked the same question 11th of February. This was my answer then: *Your pages are invalid because of id attributes that start with "__", correct? If so, then I'm a little bit confused. In the url you pasted is that the name and id attributes can only start with letters. Every generated aspx page contains following html elements: <input type=3D"hidden" name=3D"__EVENTTARGET" id=3D"__EVENTTARGET" value=3D= "" /> <input type=3D"hidden" name=3D"__EVENTARGUMENT" id=3D"__EVENTARGUMENT" valu= e=3D"" /> Does this mean that every generated aspx page is invalid? If so, then I would putting 'fixing' this in Anthem on the bottom of the priority list. If I'm wrong, then sorry... Brian? Could you pls let me know your comment on this? * So I have the same question again. The 2 hidden fields generated by asp are also seen as invalid? Manu. On 3/21/06, Roberto <ro...@lt...> wrote: > > Hi Guys > > I was using the latest builds of Anthem.NET, but I suspect the error has > been there for a while... It seems u can't validate a page using HTML tid= y > with Anthem controls since the control names generate ID's such as > ID=3D"__Button1__" which I think is not allowed in the spec. Below is an > example of the like that gives me a warning in HTML tidy even though it's > not an error it would be cool if it could be fixed. > > Does anyone have a fix for this? > > <span id=3D"__Button1__"><input type=3D"submit" name=3D"Button1" value=3D= "Start Ajax" onclick=3D"AnthemButton_Click(this,'Button1',true,'Getting inf= o',false,Button1_PreCallBack,Button1_PostCallBack,null,true,true);return fa= lse;" id=3D"Button1" /></span><span id=3D"ProgressSection" style=3D"visibil= ity:hidden;"><img src=3D"images/indicator.gif" border=3D"0" style=3D"vertic= al-align:middle; padding-left:5px; padding-right:2px;" alt=3D"Progress Icon= " />Please wait while retrieving information...</span> > > line 36 column 9 - Warning: <span> ID "__Button1__" uses XML ID synta > > > > Regards Rob > > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.2.6/286 - Release Date: 20/03/2006 > > > |