ASP.NET has a number of nice features regarding making data input pages:
- Adding input controls is easy (
<asp:
...). - The system automatically generates member variable for the controls.
- Post-backs automatically populate the members variable with the returned values.
and some not so nice bits
- post-backs seem to be tied to JavaScript for even the simplest of cases. For instance, with statically defined pages, using only basic controls, that are known at compile time.
My questions:
- Is is possible to get the first list without the second?
- What features does that JavaScript give the user?
- What does that JavaScript actually do?
- What is the technical reasons that it's used even in trivial cases?
As it happens my assumption were in error: See here