473,387 Members | 1,722 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,387 software developers and data experts.

Regarding AJAX

I am using AJAX, it works very fine..............

But the problem is my back end aspx page does not get refreshed rather
it picks old values now when I execute the aspx page explictly then the
out put on my page(where AJAX code has been written) gets
reflected.....

What could be done......

Any Idea...

Mar 14 '06 #1
5 1250
For most tasks I would suggest : http://www.magicajax.net/
<ar*********@gmail.com> a écrit dans le message de news:
11*********************@i40g2000cwc.googlegroups.c om...
I am using AJAX, it works very fine..............

But the problem is my back end aspx page does not get refreshed rather
it picks old values now when I execute the aspx page explictly then the
out put on my page(where AJAX code has been written) gets
reflected.....

What could be done......

Any Idea...

Mar 14 '06 #2
How would it help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

My simple question is my AJAX code picks up the old page rather than
new upodates page, is tere any way by which my aspx page does not get
stored into cache......

Mar 14 '06 #3

<ar*********@gmail.com> a écrit dans le message de news:
11**********************@i40g2000cwc.googlegroups. com...
How would it help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

My simple question is my AJAX code picks up the old page rather than
new upodates page, is tere any way by which my aspx page does not get
stored into cache......


Lacking specifics on your problem, I thought you had a viewstate
consistency problem (most common problem with ASP.Net and Ajax).

MagicAjax handles correctly postback, viewstate and validation, for the
full page or only a handfull of controls, at your choice. This should take
care of most Ajax - ASP.Net related troubles. (I'm using both MagicAjax and
handcrafted javascript for Ajax).

If you are only having a caching problem, for full page download, you
can try OutputCache (the VaryByParam I'm setting may be overkill) :

<%@ Page Language="C#" CodeFile="AjaxPara.aspx.cs"
Inherits="Pgl.PAC.ParaInfo.AjaxPara" %>
<%@ OutputCache Duration="1" Location="None" VaryByParam="Action;NvvCode" %>

<%=resultat%>

Mar 14 '06 #4
Thanks Budddy

It worked out finallly by following line.........

<%@ OutputCache Duration="1" Location="None"
VaryByParam="Action;NvvCode" %>

Mar 14 '06 #5
Try the example at this article
http://www.ajaxtoday.com/ArticleDeta...5/Default.aspx

- Rafiq

"ar*********@gmail.com" wrote:
How would it help me!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

My simple question is my AJAX code picks up the old page rather than
new upodates page, is tere any way by which my aspx page does not get
stored into cache......

May 6 '06 #6

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

Similar topics

11
by: Yarco | last post by:
I want to use "Ajax" to create my web for hobby. But i don't know whether "Ajax" is mature... And what about with php? Someone have experience on it? ....
4
by: bobzimuta | last post by:
I'm creating a simple AJAX library. It's an object that will return an array containing the response text or xml. I'm trying to find a way to assign the response as a property of the object, but...
0
by: melledge | last post by:
Ajax Developers' Day added to XTech 2006 agenda XTech 2006 - 17-19 May - Hotel Grand Krasnopolsky - Amsterdam, The Netherlands
0
by: melledge | last post by:
Ajax Developers' Day to Kick Off XTech 2006 Conference Industry experts offer insight into next generation of the Web ALEXANDRIA, VIRGINIA, USA - April 25, 2006 - In response to the rapidly...
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
10
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
controlsPlease could some of you here post some of your live examples of AJAX (esp drag panels, collapsable panels, and popup menu.) (It's one thing to talk about how great something is, but it's...
2
by: Rob Meade | last post by:
Hi all, Ok - I have a few objects I've created, some live in my dal, some in my bol and some in my ui... Here's the thing - I have the need to persist an ID which is used for display purposes...
4
omerbutt
by: omerbutt | last post by:
hi there i am amking an inventory application with php,ajax,javascript,html,dhtml,sql the problem is that i have hidden the input fields regarding the replace no's of the parts with this line of...
1
by: maz00 | last post by:
Hi guys, I'm running into an issue where my AutoCompleteExtender stops working as soon as I make changes to my global.asax file for URL rewriting. I just want to take a URL...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.