Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 5.0 Search Input WC3 ErrorsDNN 5.0 Search Input WC3 Errors
Previous
 
Next
New Post
1/12/2009 2:34 PM
 

When trying to validate a page withe the "Search Input" on it you get a few WC3 Validation erros. These come from the file "/DesktopModules/Admin/SearchInput/SearchInput.ascx".

ORIG FILE CODE:

<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Control Language="vb" AutoEventWireup="false" Inherits="DotNetNuke.Modules.SearchInput.SearchInput" CodeFile="SearchInput.ascx.vb" %>
<table cellSpacing="0" cellPadding="4" summary="Search Input Table" border="0">
    <tr>
        <td nowrap><dnn:label id="plSearch" runat="server" controlname="cboModule" suffix=":"></dnn:label><asp:image id="imgSearch" runat="server"></asp:image></td>
        <td><asp:textbox id="txtSearch" runat="server" Wrap="False" Width="150px" columns="35" maxlength="200"
                cssclass="NormalTextBox"></asp:textbox></td>
        <td><asp:imagebutton id="imgGo" runat="server"></asp:imagebutton><asp:Button id="cmdGo" runat="server" Text="Go"></asp:Button></td>
    </tr>
</table>

 

WC3 COMPLIANT CODE:

<%@ Register TagPrefix="dnn" TagName="Label" Src="~/controls/LabelControl.ascx" %>
<%@ Control Language="vb" AutoEventWireup="false" Inherits="DotNetNuke.Modules.SearchInput.SearchInput" CodeFile="SearchInput.ascx.vb" %>
<table cellspacing="0" cellpadding="4" summary="Search Input Table" border="0">
    <tr>
        <td nowrap="nowrap"><dnn:label id="plSearch" runat="server" controlname="cboModule" suffix=":"></dnn:label><asp:image id="imgSearch" runat="server"></asp:image></td>
        <td><asp:textbox id="txtSearch" runat="server" Wrap="False" Width="150px" columns="35" maxlength="200"
                cssclass="NormalTextBox"></asp:textbox></td>
        <td><asp:imagebutton id="imgGo" runat="server"></asp:imagebutton><asp:Button id="cmdGo" runat="server" Text="Go"></asp:Button></td>
    </tr>
</table>

I can't work out how to log it into Gemini & would appreciate it if some can - thanks :)

 
New Post
1/12/2009 2:51 PM
 

This has been discussed before, please search these forums.



Alex Shirley


 
New Post
1/12/2009 2:58 PM
 

Has it been logged in Gemini yet?

BTW - a thanks for going to the trouble of posting a solution would of been nice ;)

 
New Post
1/12/2009 3:04 PM
 

How about clicking the search box above you and typing "w3c" where we've gone to exactly that trouble?

Thanks...



Alex Shirley


 
New Post
1/12/2009 3:08 PM
 

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/118/threadid/276991/scope/posts/Default.aspx



Alex Shirley


 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...DNN 5.0 Search Input WC3 ErrorsDNN 5.0 Search Input WC3 Errors


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out