473,761 Members | 10,684 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.Net controls & AJAX

Hi all,
I was wondering if anyone had experience using ajax with asp.net controls.
What i'm looking for, are ways to implement and possible problems.
A way to implement could be rendering the control on the server side,
and send the html string back to javascript.
A possible problem is the control post back behavior and control view state
usage.
Thanks,
Sharon.
Apr 19 '06
13 1719
I get the picture :)
Thanks again,
Sharon.

"Braulio Diez" <br************ **@yahoo.es> wrote in message
news:28******** *************** ***********@mic rosoft.com...
Well...

Atlas is more powerful, but the unique advantage of script callbacks is
that they are in production (ASP .net 2.0 ships script call bakcs), and
ATLAS
hasn't been officially released.

Another good point of Script Call Back is that they are quite easy to
use. The main drawback... is not a powerful thing :-(

Bye
Braulio

--
/// ------------------------------
/// Braulio D?ez Colaborador DNM
///
/// http://www.dotnetmania.com
/// My Site (.net Tips): http://www.bdiez.com
/// ------------------------------


"Sharon" wrote:
Thanks Braulio.
Does "script callbacks" have any advantage over Atlas?
Sharon.

"Braulio Diez" <br************ **@yahoo.es> wrote in message
news:61******** *************** ***********@mic rosoft.com...
> Hello,
>
> ATLAS is what we are going to be using in some months.
>
> In the mean time, ASP .net 2.0, ships "script callbacks", it has some
> drawbacks (e.g.: it seems that the viewstate travels with each call),
> but
> for
> some scenario can be a good idea to use it:
>
>
> http://www.developer.com/net/asp/article.php/3485991
> http://west-wind.com/weblog/posts/2302.aspx
>
> Good luck
> Braulio
>
>
> --
> /// ------------------------------
> /// Braulio D?ez Colaborador DNM
> ///
> /// http://www.dotnetmania.com
> /// My Site (.net Tips): http://www.bdiez.com
> /// ------------------------------
>
>
>
>
> "Sharon" wrote:
>
>> Hi all,
>> I was wondering if anyone had experience using ajax with asp.net
>> controls.
>> What i'm looking for, are ways to implement and possible problems.
>> A way to implement could be rendering the control on the server side,
>> and send the html string back to javascript.
>> A possible problem is the control post back behavior and control view
>> state
>> usage.
>> Thanks,
>> Sharon.
>>
>>
>>


Apr 19 '06 #11
Here are the details about using the built in AJAX capabilities of ASP.NET
2.0:
http://SteveOrr.net/articles/Ajax.aspx

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net

"Sharon" <no*****@null.v oid> wrote in message
news:%2******** ********@TK2MSF TNGP05.phx.gbl. ..
Hi all,
I was wondering if anyone had experience using ajax with asp.net controls.
What i'm looking for, are ways to implement and possible problems.
A way to implement could be rendering the control on the server side,
and send the html string back to javascript.
A possible problem is the control post back behavior and control view
state usage.
Thanks,
Sharon.

Apr 19 '06 #12
I've been working with ATLAS a lot recently. The form variables do get
passed back, it seems that everything still goes through the initial
stages of page generation. So control view state and form field
updates don't pose a problem. And yes, you can use the control's
render method, wrapping your own HtmlTextWriter around a StringWriter
based on a StringBuilder, to get the HTML text to return to the client.

Apr 20 '06 #13
Considering that ATLAS is still CTP,
did you encounter any problems, bugs?

"Russell" <ru*****@goisc. com> wrote in message
news:11******** **************@ v46g2000cwv.goo glegroups.com.. .
I've been working with ATLAS a lot recently. The form variables do get
passed back, it seems that everything still goes through the initial
stages of page generation. So control view state and form field
updates don't pose a problem. And yes, you can use the control's
render method, wrapping your own HtmlTextWriter around a StringWriter
based on a StringBuilder, to get the HTML text to return to the client.

Apr 20 '06 #14

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

Similar topics

12
3492
by: nat | last post by:
Hi all, I was going to post this in the AJAX forum, but apparently someone posted an AJAX/C# question in there today and was told to try this forum instead. So here goes: I'm trying to figure out whether AJAX will work with dynamically created controls in C#.NET. I have been able to get non-dynamically created controls to work, but so far none of my dynamic controls or events linked to them are able to work with AJAX. Does anyone know...
1
1192
by: Sharon | last post by:
Hi all, I'm trying to programmatically render a user control, but problem is, i don't have the control type and i cannot use register directive as the context is not an aspx page. Any ideas, links. Thanks, Sharon.
0
1346
by: LeProgrammeur | last post by:
Hi guys! I created a control that works like an AJAX container. Basically the way it works is that all the ASP.NET controls that you place inside of the AJAX container will automatically become AJAX enabled. For example, at the same website where I uploaded the control assembly, I also posted some tutorials on how to use this AJAX container control. One of the tutorials walks you through the steps to create an AJAX chat application. You...
8
2302
by: =?Utf-8?B?cGF0cmlja2RyZA==?= | last post by:
Hi everyone! Is there anyway to make ie web controls work in mozilla and ie 7? Thanks in advance!
4
2550
by: Rob Meade | last post by:
Hi all, I played with my first bit of AJAX the other week and was pleasantly surprised that I achieved my goal..now I'd like to try something else.. Question... If I have an updatePanel, and lets say I have a button as a trigger which runs a function in my code behind to add a textbox to the updatePanel, when the form is submitted does this control actually "exist" as such on the
2
1340
by: =?Utf-8?B?RG90TmV0RGV2?= | last post by:
Hi, We are still using .net 1.1 and I am working on a problem that I thought could be 'probably' done easily through 'AJAX'. I visited the ajax.asp.net site and I got an impression that its only for .net 2.0. Can any one point me to resources for using AJAX with asp.net 1.1? Thnx
2
2213
by: =?Utf-8?B?VG9u?= | last post by:
Hello, I want to understand teh benefits of ajax technology. Does anyone has a good website where AJAX EXTENSIONS is worked out so I really understand it. There a 2 main questions: 1) How about the form load event. Why should it fire when I put a button in a update panel? Is this necessary and is only the other controls related to the update panel send back? Or the whole page (If this is true I really do not get it). But please answer...
0
9333
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
10107
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
9945
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9765
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8768
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
7324
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
6599
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
5214
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...
3
2733
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.