473,725 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.net built in ajax calls?

Last week I asked about ASP.net 2.0 AJAX frameworks and there appears to be
several to choose from.

I haven't used ASP.net 2.0 yet, but from doing a bit of reading, it appears
that ASP.net 2.0 also has some client side call-backs built in that can
update the display via AJAX.

To ask a more specific question, do I need a specific AJAX framework to do
the following:

1) Drag-n-drop interface
2) Dynamic control diplay updates without a page load.

#1 seems more of a javascript library task (like script.aculo.us and
Prototype) so probably not a need for any .net AJAX framework.

But what about #2? Is that something I should have a framwork for, or is
that already built into .net 2.0?

Tangental question...are any of the .net AJAX framworks using the Prototype
javascript framwork?

-Darrel

Apr 3 '06 #1
9 1672
My latest project is in 2.0 and, although there are a lot of nifty new
controls, I haven't seen anything that uses AJAX. Wish it did. Those
constant postbacks are really annoying.

Mark

Apr 3 '06 #2
The GridView, FormView et al have support for out-of-band refreshes for
sorting, paging and so forth. If you want anything much more
complicated than that you have to write the code by hand. The Ajax
callbacks in .Net 2.0 are certainly functional, but other frameworks
have their own merits and drawbacks.

You can use the callbacks baked into the framework for #2, but you
might find that you get on better with a third party framework, or
Atlas, which I haven't played with yet.

Most of the techno-trickery I get up to these days is based on
scriptaculous and AjaxPro - the successor to Michael Schwarz's
Ajax.Net, I'm not aware of a .Net framework based on Prototype, but I'm
notoriously unreliable.

Apr 4 '06 #3

"Mark" <mb****@bongo.n et> a écrit dans le message de news:
11************* *********@i39g2 00...legr oups.com...
My latest project is in 2.0 and, although there are a lot of nifty new
controls, I haven't seen anything that uses AJAX. Wish it did. Those
constant postbacks are really annoying.

Mark


LGPL : http://www.magicajax.net/ does the trick for me.


Apr 4 '06 #4
You don't need any additional frameworks to do those things, although a good
framework might be able to make it a little easier.

Here's the details on the built-in AJAX functionality in ASP.NET 2.0:
http://SteveOrr.net/articles/Ajax.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"darrel" <no*****@nowher e.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Last week I asked about ASP.net 2.0 AJAX frameworks and there appears to
be several to choose from.

I haven't used ASP.net 2.0 yet, but from doing a bit of reading, it
appears that ASP.net 2.0 also has some client side call-backs built in
that can update the display via AJAX.

To ask a more specific question, do I need a specific AJAX framework to do
the following:

1) Drag-n-drop interface
2) Dynamic control diplay updates without a page load.

#1 seems more of a javascript library task (like script.aculo.us and
Prototype) so probably not a need for any .net AJAX framework.

But what about #2? Is that something I should have a framwork for, or is
that already built into .net 2.0?

Tangental question...are any of the .net AJAX framworks using the
Prototype javascript framwork?

-Darrel

Apr 4 '06 #5
That that magicajax is pretty swish - how well does the viewstate thing
hold up? Can I populate a drop down and then access its SelectedValue
from subsequent callbacks?

My only problem with ajax.net is that it takes you out of the usual
asp.net model, but i like the external js, and it's soooo simple to use.

Apr 4 '06 #6

"Flinky Wisty Pomm" <Pa********@gma il.com> a écrit dans le message de news:
11************* *********@i39g2 00...legr oups.com...
That that magicajax is pretty swish - how well does the viewstate thing
hold up? Can I populate a drop down and then access its SelectedValue
from subsequent callbacks?

My only problem with ajax.net is that it takes you out of the usual
asp.net model, but i like the external js, and it's soooo simple to use.


Not yet tried with drop downs, but works fairly well with buttons and other
fields.

According to documentation it works with drop downs.
Apr 4 '06 #7
NH
You should check out the Atlas Framework from Microsoft (see
http://atlas.asp.net)

Its at the CTP stage so its not a fully mature framework yet but its works
great. Its very easy to implement. Forget about MagixAjax.net, that is going
no where and you wont get any support from them, in fact I read that this
project is going to be discontinued now that Atlas is maturing quickly.

"Steve C. Orr [MVP, MCSD]" wrote:
You don't need any additional frameworks to do those things, although a good
framework might be able to make it a little easier.

Here's the details on the built-in AJAX functionality in ASP.NET 2.0:
http://SteveOrr.net/articles/Ajax.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"darrel" <no*****@nowher e.com> wrote in message
news:%2******** *******@TK2MSFT NGP12.phx.gbl.. .
Last week I asked about ASP.net 2.0 AJAX frameworks and there appears to
be several to choose from.

I haven't used ASP.net 2.0 yet, but from doing a bit of reading, it
appears that ASP.net 2.0 also has some client side call-backs built in
that can update the display via AJAX.

To ask a more specific question, do I need a specific AJAX framework to do
the following:

1) Drag-n-drop interface
2) Dynamic control diplay updates without a page load.

#1 seems more of a javascript library task (like script.aculo.us and
Prototype) so probably not a need for any .net AJAX framework.

But what about #2? Is that something I should have a framwork for, or is
that already built into .net 2.0?

Tangental question...are any of the .net AJAX framworks using the
Prototype javascript framwork?

-Darrel


Apr 4 '06 #8
Thanks everyone. Looks like my biggest problem is 'too many choices' ;o)

-Darrel
Apr 4 '06 #9
I've written a very simple article of using Ajax in ASP.Net take a look at
http://www.ajaxtoday.com/ArticleDeta...5/Default.aspx

- Rafiq.

"Mark" wrote:
My latest project is in 2.0 and, although there are a lot of nifty new
controls, I haven't seen anything that uses AJAX. Wish it did. Those
constant postbacks are really annoying.

Mark

May 6 '06 #10

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

Similar topics

2
2055
by: christopher.secord | last post by:
I would like have a little "loading..." tab not unlike the one that gmail uses and I would like to display that tab while an ajax call is made. The javascript to display the tab works. The javascript to hide the tab works. But when I put the two together inside the function that calls the ajax service, they don't work. What seems to happen is that calls to change DOM object properties are queued up, and then all executed...
1
1842
by: codefragment | last post by:
Hi I have asked this on the official asp.net forums but no luck so thought I'd try here Assume you have a page with a filter control and a grid view and many other controls on it. When the filter changes you want the gridview to change but nothing else. In particular all you would like to happen is for an ajax call to occur and a new grid view to be returned.
5
6158
by: steve.chambers | last post by:
I'm sure this q must have been asked before but I'm really struggling to find the answer anywhere so have finally given up and will consult the usenet community - hopefully there's someone out there who's seen it all before and can help me out! I have a webpage which needs to make some function calls after the page has loaded - won't go into details surfice to say here is a code fragment: function addLoadEvent(func) { var oldonload =...
6
5165
by: =?Utf-8?B?U2hhd24gU2VzbmE=?= | last post by:
Greetings! I was researching AJAX to provide a solution to displaying status messages while a long process executed. I found several examples online and was able to use their code to get a quick application working. However, when attempting to implement the solution, the AJAX calls weren't updating the screen like the examples were and seemed not to fire until after the long running process had completed. I found the only real...
10
3474
by: paulie | last post by:
Hi, I have been experiencing an issue when trying to use AJAX to reload a DIV area using a timer of 2000ms, which contains a html page with another DIV and javascript. Scenario ------------- I have perl script which simply runs a ps on a Solaris server and generates a static html page with all of the code perfectly and this html page works fine when viewing it statically or with a META REFRESH header tag. The idea is to give the user...
1
2018
by: bizt | last post by:
Hi, I am having my first real attempt at an ajax class as so far Ive managed to build one that, once instatiated, will allow me to define which function it will call on completion then retrieves the contents from a server side script as AJAX generally does and process it using that function. This far Im quite pleased with it, however, I really want something that will allow me to perform multiple AJAX calls from the same script. I...
1
1366
by: EnjoyNews | last post by:
Hi I have a little problem with java ajax... On my site I have a google adsence placed in a list. After the first 10 records it shows a adsence commecial. But.. on my search page I use Ajax to get the search result while you type the searchword. This works fine and a list is shown that matched the searchword.
7
4602
by: =?Utf-8?B?QmlsbHkgWmhhbmc=?= | last post by:
我们现在é‡åˆ°ä¸€ä¸ªé—®é¢˜ï¼Œé€šè¿‡wcf创建的webservice,选择windows service作为宿主,采用java作为客户端调用æˆåŠŸï¼Œä½†æ˜¯æ— æ³•ä½¿ç”¨asp.net ajax调用。 我们å‚考了http://msdn.microsoft.com/zh-cn/library/bb410780.aspx的资料,并且下载了相应的sample code,但是å‘现这些sample基本上都需è¦åœ¨iis上部署一个svc文件,但是根æ®å½“å‰ä¸šåŠ¡éœ€æ±‚,我们无法部署iisæœåŠ¡å™¨ã€‚...
1
3506
by: andwan0 | last post by:
I have a legacy classic ASP website with lots of classic AJAX (many ASP files specially made for processing AJAX requests). We are slowly migrating the website to ASP.NET 2.0 and developing under Visual Web Developer 2005/2008. I notice VWD doesn't debug ASP files. Since we are still migrating a very large website, we are mixing ASP.NET code with classic ASP (ASP.NET pages making AJAX calls to classic ASP pages). In Visual Studio 2003.NET...
0
8888
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9401
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8097
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4519
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2157
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.