ASP.NET web forms without javascript

Due to security requirements, all browsers that will run the web application that we need to create must have all client-side scripts. So this means no javascript. Unfortunately, Web Forms makes great use of Javascript. The input control works without Javascript, but the button does not work (it calls the Javascript __doPostback () function). Therefore, in order to make it work, we will need to program all forms manually (ASP Classic or PHP method). But I was wondering if there is an available infrastructure for ASP.NET that offers the usual ASP.NET controls (treeview, gridview, etc.) with all the functionality they have, but which does not use Javascript and does not require a programmer to program huge amount of logic?

Update: For clarification, I know that ASP.NET MVC is an option that will help a little, but it will not give me a nice GridView. So I'm wondering if there is a 100% functional replacement for 100% without javascript for standard ASP.NET controls.

Thanks.

Update2: It has been a while, and I did not find the exact answer I was looking for. Probably because what I want does not exist. So I will go to ASP.NET MVC, which is the next best.

+4
source share
2 answers

ASP.Net MVC is probably the closest to you. You can use it to create a site without javascript. It is very different from web forms.

+6
source

Many inventory controls will be problematic. They are just too much dependent on Javascript. You have several options:

  • ASP.Net MVC should give you a bit more control over your html
  • You can create your own custom WebForms control library that does not rely on javascript to provide alternatives for the controls that do.
+4
source

All Articles