Hi!
Please, I'm new using aspx and I'm very confused. First, I would like to use Ajax. I learned the basics of Ajax, the code in the client side (browser) is ok, my problem begans on the server page that will return the result to Ajax. I understand that this server side file (html,asp,php) will run some code and the end content is the result sent back to Ajax in the client browser. So, I tried to create an aspx page to return some result. But here comes a lot of questions:
1) Is this possible to use aspx for this?
2) Do I need to install something to use Ajax with Aspnet?
3) If is possible to use aspx files to generate the code that will be sent to Ajax, how do I write the end content? I tried response.write, but all the code is writed before any existing code. And that's the problem, an aspx page must have his "internal headers" (e.g. <%@ Page Language='VB' CodeFile='Default...) if I put some code before this "header" (using "responde.write"), nothing happens...
4) This question is about the client side, the browser.
How can I add (or change) some javascript code (or anything else) on the head or on the body of a page using aspx? Like before, response.write don't help me in my purposes...
Guys, please feel free to use any language (Visual Studio). Thank you very much, I tried to find it in a lot of forums, but no success...