473,396 Members | 1,755 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Ajax with Aspnet

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...
Feb 13 '08 #1
2 1152
acoder
16,027 Expert Mod 8TB
Welcome to TSDN!

I think you'll have more luck in the .NET forum. I've moved this thread over for you.
Feb 14 '08 #2
Ok, thank you very much!!
Feb 14 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: SAL | last post by:
hello, I'm using a radiobuttonlist in an updatepanel in an item template in a Gridview control. I'm populating the radiobuttonlist in the RowDataBound event. I have the control toolkit registered...
11
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit (using .net version 3.5) is closed before the Ajax enable controls complete loading, then IE locks up. Does it in both IE7...
7
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a...
9
by: =?Utf-8?B?RGFuaWVs?= | last post by:
Hi, I downloaded the sample application that the Microsoft video ASPNETAJAXForWinMobile described but it doesn't work on my Windows Mobile 6 emulator. After enabling the script error reporting...
4
by: Peter | last post by:
ASP.NET 2.0 I have an AutoCompleteExtender which works fine- I am using name, id pair in the WebService , but what I am trying to do is: once the user selects an item from the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.