473,725 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1447
If those are you limitations , then yes.
I hope you can find the kittens a good home.

"John Smith" <gg************ *****@spamgourm et.com> wrote in message
news:ab******** *************** **@posting.goog le.com...
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*****@housto n.rr.com> wrote in message
news:u4******** ******@TK2MSFTN GP11.phx.gbl...
If those are you limitations , then yes.
I hope you can find the kittens a good home.

"John Smith" <gg************ *****@spamgourm et.com> wrote in message
news:ab******** *************** **@posting.goog le.com...
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*****@housto n.rr.com> wrote in message
news:u4******** ******@TK2MSFTN GP11.phx.gbl...
If those are you limitations , then yes.
I hope you can find the kittens a good home.

"John Smith" <gg************ *****@spamgourm et.com> wrote in message
news:ab******** *************** **@posting.goog le.com...
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************ *****@spamgourm et.com> wrote in message news:11******** **************@ z14g2000cwz.goo glegroups.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*****@housto n.rr.com> wrote in message
news:u4******** ******@TK2MSFTN GP11.phx.gbl...
If those are you limitations , then yes.
I hope you can find the kittens a good home.

"John Smith" <gg************ *****@spamgourm et.com> wrote in message
news:ab******** *************** **@posting.goog le.com...
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************ *****@spamgourm et.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.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*****@housto n.rr.com> wrote in message
| > news:u4******** ******@TK2MSFTN GP11.phx.gbl...
| > > If those are you limitations , then yes.
| > > I hope you can find the kittens a good home.
| > >
| > > "John Smith" <gg************ *****@spamgourm et.com> wrote in message
| > > news:ab******** *************** **@posting.goog le.com...
| > > > 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************ *****@spamgourm et.com> wrote in message
news:11******** **************@ z14g2000cwz.goo glegroups.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*****@housto n.rr.com> wrote in message
| > news:u4******** ******@TK2MSFTN GP11.phx.gbl...
| > > If those are you limitations , then yes.
| > > I hope you can find the kittens a good home.
| > >
| > > "John Smith" <gg************ *****@spamgourm et.com> wrote in message | > > news:ab******** *************** **@posting.goog le.com...
| > > > 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
5730
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 the user controls to do a postback but not the rest of the page. Is this possible? it seems like it should be. If it is, please explain how I can do it. Thanks. -- moondaddy@nospam.com
5
1490
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
1255
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
9831
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. I have used the code: Page.RegisterHiddenField("__EVENTTARGET", "Login.btnSubmit") in the Page Load event but this does not make the submit button default(enter) button. Any ideas on how can I do this. I have also tried using just the name of...
11
1641
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 me to solve this unique problem
0
1247
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 information.
8
2185
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 that? Thank you Max
21
4812
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 space-bar, I get the sub menu for the main form; the button does not press down. I notice that when I click on the tab control, the highlighted button takes on an "added highlight". It looks like a dotted line over the original highlight. If I press the...
1
1470
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 the button only once and if you click one more time the data calculated would be wrong. I tried the following code first. Itm_balance and Squantity are field names. Private Sub Command18_Click() MsgBox "Do not click this button anymore!"...
0
8882
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9398
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9165
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9098
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8080
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6007
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4507
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4777
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2153
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.