WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Using <ASP:TABLE> controls in .NET and making it accessible

for

Number of posts in this thread: 8 (In chronological order)

From: Martin, Lainie
Date: Mon, Feb 09 2004 9:32AM
Subject: Using <ASP:TABLE> controls in .NET and making it accessible
No previous message | Next message →

Can anyone give me pointers in how to properly format column and row
headers in an <ASP:Table> control?

Thanks! Lainie


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


From: John Hamman
Date: Mon, Feb 09 2004 11:11AM
Subject: RE: Using <ASP:TABLE> controls in .NET and making it accessible
← Previous message | Next message →

I could probably help. Are you using Visual Studio.net?
John

From: Martin, Lainie
Date: Tue, Feb 10 2004 6:46AM
Subject: RE: Using <ASP:TABLE> controls in .NET and making it accessible
← Previous message | Next message →

Yes, VS.net 2003.

From: John Hamman
Date: Tue, Feb 10 2004 9:35AM
Subject: RE: Using <ASP:TABLE> controls in .NET and making it accessible
← Previous message | Next message →

Ok, are you writing it in the html code or in the .NET Code, and are you
using it because your databinding?
john

From: Cheryl D. Wise
Date: Tue, Feb 10 2004 10:33AM
Subject: RE: Using <ASP:TABLE> controls in .NET and making it accessible
← Previous message | Next message →

Unfortunately Visual Studio.Net writes to HTML 3.2 and tends to be rather
inaccessible. I haven't tried it but you might take a look at
http://www.xhtmlwebcontrols.net/ which are asp.net controls that output
XHTML and use CSS formatting instead of all the garbage that VS.NET throws
in.

I'm considering getting it. If you try it please report back on what you
find on the code created, how accessible, etc.

Cheryl D. Wise
Certified Professional Web Developer
MS-MVP-FrontPage
www.wiserways.com
mailto: = EMAIL ADDRESS REMOVED =
713.353.0139 Office

From: Martin, Lainie
Date: Wed, Feb 11 2004 10:52AM
Subject: RE: Using <ASP:TABLE> controls in .NET and making it accessible
← Previous message | Next message →

If you mean, are we writing it in the .html code vs. the 'code behind'
(vb), we are writing it in the html. It may simply be easier to tell
them not to use <asp:table> if there's not a good accessible solution.

From: John Hamman
Date: Wed, Feb 11 2004 12:30PM
Subject: RE: Using <ASP:TABLE> controls in .NET and making it accessible
← Previous message | Next message →

Actually I ment does your code look like this

Table tbl = new Table();
TableRow tr = new TableRow();

Or does it look like this?

<asp:Table id=mytable runat=server>
......
And are you putting binding anything to the table.
Because if you are not binding anything, then its probably pointless and
extra work to make a asp:table.
Only use it if you are binding to it.

john


From: Thomas Ferran
Date: Sat, Feb 14 2004 6:22PM
Subject: Re: Using <ASP:TABLE> controls in .NET and making it accessible
← Previous message | No next message

PLEASE REMOVE ME FROM THIS STRING!!!!!
----- Original Message -----
From: "John Hamman" < = EMAIL ADDRESS REMOVED = >
To: < = EMAIL ADDRESS REMOVED = >
Sent: Wednesday, February 11, 2004 11:21 AM
Subject: RE: Using <ASP:TABLE> controls in .NET and making it accessible


> Actually I ment does your code look like this
>
> Table tbl = new Table();
> TableRow tr = new TableRow();
>
> Or does it look like this?
>
> <asp:Table id=mytable runat=server>
> ......
> And are you putting binding anything to the table.
> Because if you are not binding anything, then its probably pointless and
> extra work to make a asp:table.
> Only use it if you are binding to it.
>
> john
>
>
>