472,135 Members | 1,365 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,135 software developers and data experts.

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.
Nov 19 '05 #1
7 1384
If those are you limitations , then yes.
I hope you can find the kittens a good home.

"John Smith" <gg*****************@spamgourmet.com> wrote in message
news:ab*************************@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.

Nov 19 '05 #2
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" <dj*****@houston.rr.com> wrote in message
news:u4**************@TK2MSFTNGP11.phx.gbl...
If those are you limitations , then yes.
I hope you can find the kittens a good home.

"John Smith" <gg*****************@spamgourmet.com> wrote in message
news:ab*************************@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.


Nov 19 '05 #3
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" <dj*****@houston.rr.com> wrote in message
news:u4**************@TK2MSFTNGP11.phx.gbl...
If those are you limitations , then yes.
I hope you can find the kittens a good home.

"John Smith" <gg*****************@spamgourmet.com> wrote in message
news:ab*************************@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.



Nov 19 '05 #4
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*****************@spamgourmet.com> wrote in message news:11**********************@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" <dj*****@houston.rr.com> wrote in message
news:u4**************@TK2MSFTNGP11.phx.gbl...
If those are you limitations , then yes.
I hope you can find the kittens a good home.

"John Smith" <gg*****************@spamgourmet.com> wrote in message
news:ab*************************@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.



Nov 19 '05 #5
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*****************@spamgourmet.com> wrote in message
news:11**********************@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" <dj*****@houston.rr.com> wrote in message
| > news:u4**************@TK2MSFTNGP11.phx.gbl...
| > > If those are you limitations , then yes.
| > > I hope you can find the kittens a good home.
| > >
| > > "John Smith" <gg*****************@spamgourmet.com> wrote in message
| > > news:ab*************************@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.
| > >
| > >
|
Nov 19 '05 #6
No, turning off validation doesn't make any difference, it's already
rendered as <input type="image">.
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.

Nov 19 '05 #7
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:
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*****************@spamgourmet.com> wrote in message
news:11**********************@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" <dj*****@houston.rr.com> wrote in message
| > news:u4**************@TK2MSFTNGP11.phx.gbl...
| > > If those are you limitations , then yes.
| > > I hope you can find the kittens a good home.
| > >
| > > "John Smith" <gg*****************@spamgourmet.com> wrote in message | > > news:ab*************************@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.
| > >
| > >
|


Nov 19 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by vbMental | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.