|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Microsoft ASP.NET 2.0 Treeview not being W3C compliant?Just wondered as I came accross the following markup rendered ny the Microsoft ASP.NET 2.0 Treeview Control, missing the type attrbute in the script tag. <script> <!-- function TreeView_PopulateNodeDoCallBack(context,param) { WebForm_DoCallback(context.data.treeViewID,param,TreeView_ProcessNodeData,context,TreeView_ProcessNodeData,false); } // --> </script> Any ideas, work around from Microsoft and plans to fix this? Thanks for your time and efforts, Martin MikeS wrote:
> Is this lint causing a specific problem? HiThanks for your messages. Well, the missing type attribute makes fail the W3C XHTML compliancy test. Since all other javascript rendered by the Microsoft ASP.NET 2.0 treeviewcontrol d has the type attribute (as far as I can tell) I see no reason why someone should rely on having identified it as javascript and not being specified for this portion of script. It's a bug, isn't it? Martin Probably not since different controls are created by different design teams.
But more importantly, the TYPE attribute is not required in HTML, which is what controls render as. <theintrepid***@hotmail.com> wrote in message Show quoteHide quote news:1163967340.524697.142100@k70g2000cwa.googlegroups.com... > > MikeS wrote: > >> Is this lint causing a specific problem? > > Hi > > Thanks for your messages. > > Well, the missing type attribute makes fail the W3C XHTML compliancy > test. > Since all other javascript rendered by the Microsoft ASP.NET 2.0 > treeviewcontrol d has the type attribute (as far as I can tell) I see > no reason why someone should rely on having identified it as javascript > and not being specified for this portion of script. It's a bug, isn't > it? > > Martin > JavaScript is the default scripting language used when no language or type
is specified. This should not cause any problem. <theintrepid***@hotmail.com> wrote in message Show quoteHide quote news:1163718513.984428.236960@e3g2000cwe.googlegroups.com... > > Dear Group > > Just wondered as I came accross the following markup rendered ny the > Microsoft ASP.NET 2.0 Treeview Control, missing the type attrbute in > the script tag. > > <script> > <!-- > function TreeView_PopulateNodeDoCallBack(context,param) { > > WebForm_DoCallback(context.data.treeViewID,param,TreeView_ProcessNodeData,context,TreeView_ProcessNodeData,false); > } > // --> > </script> > > Any ideas, work around from Microsoft and plans to fix this? > > Thanks for your time and efforts, > > Martin >
FormView, with 2 dropdownlists
<asp:Repeater>, checkbox values and ASP.NET 2.0 List Box : help preventing duplicate items Searching for a powerfull calendar addon GridView EnableSortingAndPagingCallBacks Select command. GridView with objectdatasource difficulty setting time values in Calendar Gridview -- changing field content User Control used in Repeater, but no output get a filename for a bitmap in a skin |
|||||||||||||||||||||||