D
dgk
I'm trying to persuade my company to use ASP.NET for a development
effort but I'm pretty weak in both ASP.NET and web development. I've
explained that ASP.NET works by turning the controls on the page into
html and java script so we don't have to write html and javascript
ourselves but clearly we need to write some js anyway since I have to
do that just to set the focus to the first control on the webpage.
As an example, how can I do this in ASP.Net:
1) user enters some text in a textbox on part of a form
2) whole form is submitted? or just a service is called?
2) the server responds with a list of names matching the text
3) the user is given a list of matches (on a subform or listbox?) and
selects one which is inserted into a list, and the user returns to
enter more text for another lookup until done.
I can set autopostback and the whole form is submitted when the user
presses enter. Seems wasteful. How would I just call a webservice that
would update a listbox without a trip to the server each time?
In general, how much can actually be done directly using server-side
controls (including third-party ones) without having to write our own
code once we want to do more than "hello world"?
effort but I'm pretty weak in both ASP.NET and web development. I've
explained that ASP.NET works by turning the controls on the page into
html and java script so we don't have to write html and javascript
ourselves but clearly we need to write some js anyway since I have to
do that just to set the focus to the first control on the webpage.
As an example, how can I do this in ASP.Net:
1) user enters some text in a textbox on part of a form
2) whole form is submitted? or just a service is called?
2) the server responds with a list of names matching the text
3) the user is given a list of matches (on a subform or listbox?) and
selects one which is inserted into a list, and the user returns to
enter more text for another lookup until done.
I can set autopostback and the whole form is submitted when the user
presses enter. Seems wasteful. How would I just call a webservice that
would update a listbox without a trip to the server each time?
In general, how much can actually be done directly using server-side
controls (including third-party ones) without having to write our own
code once we want to do more than "hello world"?