If Javascript is disabled, Does AJAX controls work [Resolved]

Posted by Skraghava under ASP.NET AJAX on 2/3/2011 | Points: 10 | Views : 10586 | Status : [Member] | Replies : 8
Hi Team,

If client has disabled the Javascript, will the application with AJAX controls work fine?

Regards,
Raghavendra SK

Thanks and regards,
Raghavendra SK



Responses

Posted by: Vuyiswamb on: 2/4/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 50

Up
0
Down

Resolved
No it will not work. Ajax is built from JavaScript.


Thank you for posting at Dotnetfunda
[Administrator]

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/4/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 50

Up
0
Down

Resolved
HI,

Yes we have an option to use AJAX when javascript is disabled. Many ppl consider that without javascript AJAX wont work... Yes its correct but for every problem always an alternative is thr... The alternative for you aproach is DEGRADABLE AJAX

"Degradable Ajax" is Degrading gracefully with old browsers, and browsers with JavaScript disabled.

http://particletree.com/features/the-hows-and-whys-of-degradable-ajax/

IF you write AJAX code to work in an environment independent of browser settings, thats termed as degradable AJAX (it works even when javascript is enabled/disabled).


Thanks
Karthik
www.f5Debug.net

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Skraghava on: 2/4/2011 [Member] Starter | Points: 25

Up
0
Down
thanks for reply.. Do we have any solutions to this problem, if we have already developed some application using ajax and user has disabled javascript?

Thanks and regards,
Raghavendra SK

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 2/4/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
I am sorry to say then there is no Solution for this , because you cant enable it via code, but you can check if its enabled.

I am sorry.

thank you for posting at Dotnetfunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Skraghava on: 2/4/2011 [Member] Starter | Points: 25

Up
0
Down
Then i think jQuery also wont work :(

Thanks and regards,
Raghavendra SK

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/4/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Also check this link

http://weblogs.asp.net/alessandro/archive/2007/10/04/rich-ajax-applications-that-do-not-break-if-javascript-is-disabled.aspx

Thanks
Karthik
www.f5Debug.net

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 2/4/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
i am sorry yes :(

Thank you for posting at Dotnetfunda
[Administrator]

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 2/4/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi Vuyiswamb,

Not a problem... This is some wer new which is hiding from most of the developers...

Thanks
Karthik
www.f5Debug.net

Skraghava, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response