By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,846 Members | 1,631 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,846 IT Pros & Developers. It's quick & easy.

Button the only legal PostBack control?

P: n/a
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
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.