Button the only legal PostBack control? | | |
As it is now apparently illegal in the UK to produce a website which
is inaccessible to the disabled, which includes the
JavaScript-disabled and images-disabled, am I right in thinking that
the only ASP.NET postback capable control which is now of any use is
the Button control? The LinkButton is clearly no good as it uses
JavaScript and the ImageButton doesn't work in Mozilla with scripting
and images turned off. Am I missing something or does every PostBack
have to be performed by a button in order to meet accessibility
standards? The designers are going to have kittens...
J.S. | | | | re: Button the only legal PostBack control?
If those are you limitations , then yes.
I hope you can find the kittens a good home.
"John Smith" <gg.20.johnsmith2005@spamgourmet.com> wrote in message
news:ab00e65a.0501170516.59d2a98@posting.google.co m...[color=blue]
> As it is now apparently illegal in the UK to produce a website which
> is inaccessible to the disabled, which includes the
> JavaScript-disabled and images-disabled, am I right in thinking that
> the only ASP.NET postback capable control which is now of any use is
> the Button control? The LinkButton is clearly no good as it uses
> JavaScript and the ImageButton doesn't work in Mozilla with scripting
> and images turned off. Am I missing something or does every PostBack
> have to be performed by a button in order to meet accessibility
> standards? The designers are going to have kittens...
>
> J.S.[/color] | | | | re: Button the only legal PostBack control?
Doh! I'm brain Dead.
The Image Button will also work since its an implementation of the <input
type=image> element present in the HTML 4.0 Spec
"David Jessee" <djessee@houston.rr.com> wrote in message
news:u4jXaqJ$EHA.1452@TK2MSFTNGP11.phx.gbl...[color=blue]
> If those are you limitations , then yes.
> I hope you can find the kittens a good home.
>
> "John Smith" <gg.20.johnsmith2005@spamgourmet.com> wrote in message
> news:ab00e65a.0501170516.59d2a98@posting.google.co m...[color=green]
> > As it is now apparently illegal in the UK to produce a website which
> > is inaccessible to the disabled, which includes the
> > JavaScript-disabled and images-disabled, am I right in thinking that
> > the only ASP.NET postback capable control which is now of any use is
> > the Button control? The LinkButton is clearly no good as it uses
> > JavaScript and the ImageButton doesn't work in Mozilla with scripting
> > and images turned off. Am I missing something or does every PostBack
> > have to be performed by a button in order to meet accessibility
> > standards? The designers are going to have kittens...
> >
> > J.S.[/color]
>
>[/color] | | | | re: Button the only legal PostBack control?
No, you're not brain dead, I wish you were, so to speak. I'd thought
the ImageButton was the tool for the job, I was very much relying on
it, but if you try an ImageButton in Firefox or Netscape with the
images and javascript turned off you will see that it doesn't work. So,
given that it is a legal requirement that sites should work under such
conditions, where are all the ASP.NET sites full of submit buttons?
David Jessee wrote:[color=blue]
> Doh! I'm brain Dead.
> The Image Button will also work since its an implementation of the[/color]
<input[color=blue]
> type=image> element present in the HTML 4.0 Spec
>
>
>
> "David Jessee" <djessee@houston.rr.com> wrote in message
> news:u4jXaqJ$EHA.1452@TK2MSFTNGP11.phx.gbl...[color=green]
> > If those are you limitations , then yes.
> > I hope you can find the kittens a good home.
> >
> > "John Smith" <gg.20.johnsmith2005@spamgourmet.com> wrote in message
> > news:ab00e65a.0501170516.59d2a98@posting.google.co m...[color=darkred]
> > > As it is now apparently illegal in the UK to produce a website[/color][/color][/color]
which[color=blue][color=green][color=darkred]
> > > is inaccessible to the disabled, which includes the
> > > JavaScript-disabled and images-disabled, am I right in thinking[/color][/color][/color]
that[color=blue][color=green][color=darkred]
> > > the only ASP.NET postback capable control which is now of any use[/color][/color][/color]
is[color=blue][color=green][color=darkred]
> > > the Button control? The LinkButton is clearly no good as it uses
> > > JavaScript and the ImageButton doesn't work in Mozilla with[/color][/color][/color]
scripting[color=blue][color=green][color=darkred]
> > > and images turned off. Am I missing something or does every[/color][/color][/color]
PostBack[color=blue][color=green][color=darkred]
> > > have to be performed by a button in order to meet accessibility
> > > standards? The designers are going to have kittens...
> > >
> > > J.S.[/color]
> >
> >[/color][/color] | | | | re: Button the only legal PostBack control?
I think if you turn off Validation (property tab) in Image button then it becomes
<input type="image"> in ASPX.NET
If Validation is on then you will have a problem with Javascript-disabled browsers.
George.
<gg.20.johnsmith2005@spamgourmet.com> wrote in message news:1106047970.482164.218840@z14g2000cwz.googlegr oups.com...
No, you're not brain dead, I wish you were, so to speak. I'd thought
the ImageButton was the tool for the job, I was very much relying on
it, but if you try an ImageButton in Firefox or Netscape with the
images and javascript turned off you will see that it doesn't work. So,
given that it is a legal requirement that sites should work under such
conditions, where are all the ASP.NET sites full of submit buttons?
David Jessee wrote:[color=blue]
> Doh! I'm brain Dead.
> The Image Button will also work since its an implementation of the[/color]
<input[color=blue]
> type=image> element present in the HTML 4.0 Spec
>
>
>
> "David Jessee" <djessee@houston.rr.com> wrote in message
> news:u4jXaqJ$EHA.1452@TK2MSFTNGP11.phx.gbl...[color=green]
> > If those are you limitations , then yes.
> > I hope you can find the kittens a good home.
> >
> > "John Smith" <gg.20.johnsmith2005@spamgourmet.com> wrote in message
> > news:ab00e65a.0501170516.59d2a98@posting.google.co m...[color=darkred]
> > > As it is now apparently illegal in the UK to produce a website[/color][/color][/color]
which[color=blue][color=green][color=darkred]
> > > is inaccessible to the disabled, which includes the
> > > JavaScript-disabled and images-disabled, am I right in thinking[/color][/color][/color]
that[color=blue][color=green][color=darkred]
> > > the only ASP.NET postback capable control which is now of any use[/color][/color][/color]
is[color=blue][color=green][color=darkred]
> > > the Button control? The LinkButton is clearly no good as it uses
> > > JavaScript and the ImageButton doesn't work in Mozilla with[/color][/color][/color]
scripting[color=blue][color=green][color=darkred]
> > > and images turned off. Am I missing something or does every[/color][/color][/color]
PostBack[color=blue][color=green][color=darkred]
> > > have to be performed by a button in order to meet accessibility
> > > standards? The designers are going to have kittens...
> > >
> > > J.S.[/color]
> >
> >[/color][/color] | | | | re: Button the only legal PostBack control?
while the asp:imagebutton has trouble with netscape, you can use the html
version, set a value, and it will work in all browsers (do your own
dispatch)
-- bruce (sqlwork.com)
<gg.20.johnsmith2005@spamgourmet.com> wrote in message
news:1106047970.482164.218840@z14g2000cwz.googlegr oups.com...
| No, you're not brain dead, I wish you were, so to speak. I'd thought
| the ImageButton was the tool for the job, I was very much relying on
| it, but if you try an ImageButton in Firefox or Netscape with the
| images and javascript turned off you will see that it doesn't work. So,
| given that it is a legal requirement that sites should work under such
| conditions, where are all the ASP.NET sites full of submit buttons?
|
| David Jessee wrote:
| > Doh! I'm brain Dead.
| > The Image Button will also work since its an implementation of the
| <input
| > type=image> element present in the HTML 4.0 Spec
| >
| >
| >
| > "David Jessee" <djessee@houston.rr.com> wrote in message
| > news:u4jXaqJ$EHA.1452@TK2MSFTNGP11.phx.gbl...
| > > If those are you limitations , then yes.
| > > I hope you can find the kittens a good home.
| > >
| > > "John Smith" <gg.20.johnsmith2005@spamgourmet.com> wrote in message
| > > news:ab00e65a.0501170516.59d2a98@posting.google.co m...
| > > > As it is now apparently illegal in the UK to produce a website
| which
| > > > is inaccessible to the disabled, which includes the
| > > > JavaScript-disabled and images-disabled, am I right in thinking
| that
| > > > the only ASP.NET postback capable control which is now of any use
| is
| > > > the Button control? The LinkButton is clearly no good as it uses
| > > > JavaScript and the ImageButton doesn't work in Mozilla with
| scripting
| > > > and images turned off. Am I missing something or does every
| PostBack
| > > > have to be performed by a button in order to meet accessibility
| > > > standards? The designers are going to have kittens...
| > > >
| > > > J.S.
| > >
| > >
| | | | | re: Button the only legal PostBack control?
No, turning off validation doesn't make any difference, it's already
rendered as <input type="image">.
[color=blue]
>I think if you turn off Validation (property tab) in Image button
>then it becomes <input type="image"> in ASPX.NET
>
>If Validation is on then you will have a problem with
>Javascript-disabled browsers.
>
>George.[/color] | | | | re: Button the only legal PostBack control?
The problem with the ImageButton in Mozilla with images and Javascript
disabled is that the Click event isn't fired, but your suggested
HtmlInputImage alternative doesn't have a Click event at all!
By setting a value attribute (which you can do for an ImageButton in
the .aspx without resorting to a HtmlInputImage) you can look for the
value in the Request.Form and act accordingly. Is that what you mean by
'do your own dispatch'?
This seems rather painful work-around mind, and a pretty major flaw in
ASP.NET. Does anyone know if it's due to be fixed?
J.S.
bruce barker wrote:[color=blue]
> while the asp:imagebutton has trouble with netscape, you can use the[/color]
html[color=blue]
> version, set a value, and it will work in all browsers (do your own
> dispatch)
>
> -- bruce (sqlwork.com)
>
>
> <gg.20.johnsmith2005@spamgourmet.com> wrote in message
> news:1106047970.482164.218840@z14g2000cwz.googlegr oups.com...
> | No, you're not brain dead, I wish you were, so to speak. I'd[/color]
thought[color=blue]
> | the ImageButton was the tool for the job, I was very much relying[/color]
on[color=blue]
> | it, but if you try an ImageButton in Firefox or Netscape with the
> | images and javascript turned off you will see that it doesn't work.[/color]
So,[color=blue]
> | given that it is a legal requirement that sites should work under[/color]
such[color=blue]
> | conditions, where are all the ASP.NET sites full of submit buttons?
> |
> | David Jessee wrote:
> | > Doh! I'm brain Dead.
> | > The Image Button will also work since its an implementation of[/color]
the[color=blue]
> | <input
> | > type=image> element present in the HTML 4.0 Spec
> | >
> | >
> | >
> | > "David Jessee" <djessee@houston.rr.com> wrote in message
> | > news:u4jXaqJ$EHA.1452@TK2MSFTNGP11.phx.gbl...
> | > > If those are you limitations , then yes.
> | > > I hope you can find the kittens a good home.
> | > >
> | > > "John Smith" <gg.20.johnsmith2005@spamgourmet.com> wrote in[/color]
message[color=blue]
> | > > news:ab00e65a.0501170516.59d2a98@posting.google.co m...
> | > > > As it is now apparently illegal in the UK to produce a[/color]
website[color=blue]
> | which
> | > > > is inaccessible to the disabled, which includes the
> | > > > JavaScript-disabled and images-disabled, am I right in[/color]
thinking[color=blue]
> | that
> | > > > the only ASP.NET postback capable control which is now of any[/color]
use[color=blue]
> | is
> | > > > the Button control? The LinkButton is clearly no good as it[/color]
uses[color=blue]
> | > > > JavaScript and the ImageButton doesn't work in Mozilla with
> | scripting
> | > > > and images turned off. Am I missing something or does every
> | PostBack
> | > > > have to be performed by a button in order to meet[/color]
accessibility[color=blue]
> | > > > standards? The designers are going to have kittens...
> | > > >
> | > > > J.S.
> | > >
> | > >
> |[/color] |  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,471 network members.
|