473,508 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Basic AJAX Question

Greetings,

I'd like to implement some AJAX features on an existing ASP.NET site. I have
one example of doing this but, otherwise, don't know much about it.

I have one question, though, about getting started: I notice that there are
project templates for creating AJAX this and AJAX that. I'm a little
confused about this. Am I not able to add AJAX features to an existing Web
form? Why is it necessary to select an AJAX form or whatever?

Is there some special reason why I have to decide a form is going to use
AJAX before I create that form?

Thanks.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

Jan 31 '08 #1
6 1538
If you use the built in AJAX page Template, everything is added for you,
that you will need (not really a big deal)

Then (bigger deal), if you use the built in AJAX website template, then,
even the Web.config contains all the entries which are necessary

Otherwise, to make sure your site will use Ajax successfully, you need to
update your Web.config file manually with the necessary items to use AJAX
The first time I updated an already existng site to AJAX - I created a
separate AJAX site and compared the two sites, including web.config files
and bin folders - adding all the necessary items to the existing site which
are needed.

There should be a number of pages/websites which actually have a list of the
items you need to update in the Web.config -

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eF**************@TK2MSFTNGP04.phx.gbl...
Greetings,

I'd like to implement some AJAX features on an existing ASP.NET site. I
have one example of doing this but, otherwise, don't know much about it.

I have one question, though, about getting started: I notice that there
are project templates for creating AJAX this and AJAX that. I'm a little
confused about this. Am I not able to add AJAX features to an existing Web
form? Why is it necessary to select an AJAX form or whatever?

Is there some special reason why I have to decide a form is going to use
AJAX before I create that form?

Thanks.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

Jan 31 '08 #2
On Jan 31, 12:58*pm, "Jonathan Wood" <jw...@softcircuits.comwrote:
Greetings,

I'd like to implement some AJAX features on an existing ASP.NET site. I have
one example of doing this but, otherwise, don't know much about it.

I have one question, though, about getting started: I notice that there are
project templates for creating AJAX this and AJAX that. I'm a little
confused about this. Am I not able to add AJAX features to an existing Web
form? Why is it necessary to select an AJAX form or whatever?

Is there some special reason why I have to decide a form is going to use
AJAX before I create that form?

Thanks.

--
Jonathan Wood
SoftCircuits Programminghttp://www.softcircuits.com
I think you are talking about those website templates which you can
select at the time you create a website. When you select an AJAX
template to create a web site, Visual Studio will do the necessary
configurations in web.config (maybe somewhere else as well) for you.

True, you can always select to create a regular ASP.Net website, and
configure it yourself in Web.config if you want to add some AJAX
features later on.
Jan 31 '08 #3

"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eF**************@TK2MSFTNGP04.phx.gbl...
Greetings,

I'd like to implement some AJAX features on an existing ASP.NET site. I
have one example of doing this but, otherwise, don't know much about it.

I have one question, though, about getting started: I notice that there
are project templates for creating AJAX this and AJAX that. I'm a little
confused about this. Am I not able to add AJAX features to an existing Web
form?
You are able.
>Why is it necessary to select an AJAX form or whatever?
Just a shortcut to add the controls necessary for AJAX controls on the page.
In particular, this adds the ScriptManager (and UpdatePanel?).
Is there some special reason why I have to decide a form is going to use
AJAX before I create that form?
No, but you will have to add the proper controls later, if not.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
Jan 31 '08 #4
David,
If you use the built in AJAX page Template, everything is added for you,
that you will need (not really a big deal)

Then (bigger deal), if you use the built in AJAX website template, then,
even the Web.config contains all the entries which are necessary
Okay, I'll just have to figure that out than.
Otherwise, to make sure your site will use Ajax successfully, you need to
update your Web.config file manually with the necessary items to use AJAX
The first time I updated an already existng site to AJAX - I created a
separate AJAX site and compared the two sites, including web.config files
and bin folders - adding all the necessary items to the existing site
which are needed.

There should be a number of pages/websites which actually have a list of
the items you need to update in the Web.config -
I don't recall seeing that in the one example I saw but will keep an eye out
for it..

I purchased an introduction to AJAX but it has loads of stuff I simply don't
need to know at this point, and it was written before VS2008 and so there's
a bunch of stuff that doesn't even seem to apply. I gave up on it and am
looking for a source for a brief tutorial on getting it up and running on
VS2008.

Thanks.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

Feb 1 '08 #5
Thanks. I'll see if I can figure that out.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMwrote in
message news:OL**************@TK2MSFTNGP02.phx.gbl...
>
"Jonathan Wood" <jw***@softcircuits.comwrote in message
news:eF**************@TK2MSFTNGP04.phx.gbl...
>Greetings,

I'd like to implement some AJAX features on an existing ASP.NET site. I
have one example of doing this but, otherwise, don't know much about it.

I have one question, though, about getting started: I notice that there
are project templates for creating AJAX this and AJAX that. I'm a little
confused about this. Am I not able to add AJAX features to an existing
Web form?

You are able.
>>Why is it necessary to select an AJAX form or whatever?

Just a shortcut to add the controls necessary for AJAX controls on the
page. In particular, this adds the ScriptManager (and UpdatePanel?).
>Is there some special reason why I have to decide a form is going to use
AJAX before I create that form?

No, but you will have to add the proper controls later, if not.
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box! |
*************************************************
Feb 1 '08 #6
Thanks. Since my site is already well underway, I don't really have the
luxury of creating it from a template.

--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com

"gnewsgroup" <gn********@gmail.comwrote in message
news:d9**********************************@l32g2000 hse.googlegroups.com...
On Jan 31, 12:58 pm, "Jonathan Wood" <jw...@softcircuits.comwrote:
Greetings,

I'd like to implement some AJAX features on an existing ASP.NET site. I
have
one example of doing this but, otherwise, don't know much about it.

I have one question, though, about getting started: I notice that there
are
project templates for creating AJAX this and AJAX that. I'm a little
confused about this. Am I not able to add AJAX features to an existing Web
form? Why is it necessary to select an AJAX form or whatever?

Is there some special reason why I have to decide a form is going to use
AJAX before I create that form?

Thanks.

--
Jonathan Wood
SoftCircuits Programminghttp://www.softcircuits.com
I think you are talking about those website templates which you can
select at the time you create a website. When you select an AJAX
template to create a web site, Visual Studio will do the necessary
configurations in web.config (maybe somewhere else as well) for you.

True, you can always select to create a regular ASP.Net website, and
configure it yourself in Web.config if you want to add some AJAX
features later on.

Feb 1 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1124
by: tarun.sinha | last post by:
Hello All Please Help me out, I have heard about Ajax Programming. I want to use it in my application but i can't understand the basic of Ajax.I serach a lot and studied in google Please...
4
1138
by: Richard Carpenter | last post by:
Considering a typical scenario where the user is presented a list of customers and, upon selecting one and clicking a button, they are then presented with a new page depicting the orders for that...
4
1420
by: Tami | last post by:
Hello, I could use some advice on the best way to connect to some php in my source code using ajax. So that the php will re-execute after so much time with a script elsewhere on the server. Please...
11
4329
by: walterbyrd | last post by:
With PHP, libraries, apps, etc. to do basic CRUD are everywhere. Ajax and non-Ajax solutions abound. With Python, finding such library, or apps. seems to be much more difficult to find. I...
8
1690
by: =?Utf-8?B?V2ViQnVpbGRlcjQ1MQ==?= | last post by:
I'm about to finally make the jump and start a new site using AJAX. THe question i have for all of you AJAX developers out there is which one? 1. The Standard AJAX frame work 2. The Tool kit....
4
1545
by: JDeats | last post by:
Note, I am not trying to use the Microsoft AJAX Framework, yes I am aware of what it is and what it does.... The techniques refered to as "AJAX" predate this toolkit and ASP.NET 2.0 What I am...
7
1713
by: MikeB | last post by:
Hello All, I am new to ajax and wanted to start by trying something simple. I have a web form with an updatepanel and then inside the update panel I have a listbox. Then outside of the updatepanel...
0
921
by: JJ | last post by:
New to AJAX: If I have the ajaxToolkit:ToolkitScriptManager on a page, do I still need to include the asp:scriptmanager if I am using an update panel for example? If I started building a site...
2
1388
by: BobF | last post by:
<given> When starting a new AJAX Control enabled site, a set of files are created. These are created -without- a master page. </given> To add a master page, I've been adding the master via...
0
7226
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7328
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,...
1
7049
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
7499
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
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
422
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.