473,387 Members | 1,597 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 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 1435
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: moondaddy | last post by:
I'm building a page in vb.net with several user controls on it. I'm using user controls instead of a frames page since I've seen this recommended many times in this user group. I want just one of...
5
by: vbMental | last post by:
Is there anyway to find out which control fired the postback in server-side code? Like in windows programming "Form.ActiveControl" ?
2
by: Joachim | last post by:
How can you find a control's type in ASP .NET (using C#, in Page_Load function) if you only know the control's name?
2
by: AlecL | last post by:
Hi All, I have added a user control onto an aspx page and want to make the submit button of that user control the default button when the panel in which the user control is located is visible. ...
11
by: giveDsolution | last post by:
Hello friends,,,,, I don't no what type of problem is it????? But sometime a button doesn't postback in a page. If i write something under button click......it doesn't respond.....Can anybody help...
0
by: jobs | last post by:
Any way to change the style of a button inside a Login Control? Any way to assign a skin id to the control, that impacts a control (like button) inside the control? thanks for any help or...
8
by: MAX2006 | last post by:
Hi, I am doing some client side javascipt work. I have a handler for window.onUnload event and within the code; I need to know the name of the asp.net button caused the postback. How can I do...
21
by: AdamOnAccess | last post by:
I am trying to set the focus on a button that sits on page 1 of my tab control. It looks like I'm successful at setting the focus because I see the highlight on the button, but when I push the...
1
by: Impissed | last post by:
OK i have a Microsoft access 2007 and i go VBA through it. What i need is, when I press a button, it should do some calculations and then disable the button. Its like when you click it, you can click...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.