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

ICallbackEventHandler and Mozilla

Hi

My question is about javascript function WebForm_DoCallback. This
function performs callback request. But the thing is that if I use
Mozilla, I can't send anisochronous request. XMLHttpRequest supports
anisochronous request as well as IE, but implementation of
WebForm_DoCallback doesn't allow to do this requests

So what should I do in this case?
Nov 19 '05 #1
3 1140
I use a bit of Javascript to tweak Mozilla, it's a line in WebResource.axd
that's causing the problem.

if (typeof Node != 'undefined') {
if (typeof Node.children == 'undefined') {
eval('Node.prototype.children getter = function() {return
this.childNodes;}') {
}
}

Register with Page.ClientScript.RegisterStartupScript();

Hope it helps,
Diego

"begemot" <du*******@gmail.com> schreef in bericht
news:47**************************@posting.google.c om...
Hi

My question is about javascript function WebForm_DoCallback. This
function performs callback request. But the thing is that if I use
Mozilla, I can't send anisochronous request. XMLHttpRequest supports
anisochronous request as well as IE, but implementation of
WebForm_DoCallback doesn't allow to do this requests

So what should I do in this case?

Nov 19 '05 #2
I thought clientcallback in asp.net 2.0 beta2 had full support for mozilla.
Maybe not.

I find the Ajax .Net wrapper is a better solution than the client callback,
check it out:
http://ajax.schwarz-interactive.de/c...e/default.aspx

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"begemot" <du*******@gmail.com> wrote in message
news:47**************************@posting.google.c om...
Hi

My question is about javascript function WebForm_DoCallback. This
function performs callback request. But the thing is that if I use
Mozilla, I can't send anisochronous request. XMLHttpRequest supports
anisochronous request as well as IE, but implementation of
WebForm_DoCallback doesn't allow to do this requests

So what should I do in this case?

Nov 19 '05 #3
Thanks a lot!

But I have already found this solution.
About Mozilla - callback requests work fine except one thing, they can
be only synchronous, so if you send a callback request then your
browser freezes while it is waiting the response. That's bad.

So it would be very good if guyes from Microsoft fix this issue and It
would be quite interesting to listen their opinion about all this
things.

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net> wrote in message news:<uQ**************@TK2MSFTNGP12.phx.gbl>...
I thought clientcallback in asp.net 2.0 beta2 had full support for mozilla.
Maybe not.

I find the Ajax .Net wrapper is a better solution than the client callback,
check it out:
http://ajax.schwarz-interactive.de/c...e/default.aspx

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/ - New and Improved (yes, the popup is
annoying)
http://www.openmymind.net/faq.aspx - unofficial newsgroup FAQ (more to
come!)
"begemot" <du*******@gmail.com> wrote in message
news:47**************************@posting.google.c om...

Nov 19 '05 #4

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

Similar topics

1
by: Mike | last post by:
When trying to compile in Visual Web Developer 2005 express beta (framework version )the source code using System; using System.Web.UI; using System.Web.UI.WebControls; using...
1
by: Mike | last post by:
When trying to compile (using Visual Web Developer 2005 Express Beta; frameworkv2.0.50215 ) the source code below I get errors (listed below due to the use of ICallBackEventHandler. Ultimately I...
2
by: Maya Nasri | last post by:
Hello everyone, I have upgraded to ASP.NET 2 and since then i had the code below stopped working after upgrading and modiftying the code: using System; using System.Data; using...
1
by: JimGreen | last post by:
I recently installed Release Candidate of VS2005 and I am not sure what the hell is the problem but ICallbackEventHandler definition on my machine looks like this: public interface...
3
by: Harvey Triana | last post by:
Hello I try to implement ICallbackEventHandler follow sample in http://msdn2.microsoft.com/en-us/library/ms178208.aspx I add code line: Implements System.Web.UI.ICallbackEventHandler The...
0
by: Slim | last post by:
I made a page today that uses ICallbackEventHandler. I got to work, but with problems. 1. it is slow, it does not seem any faster than reloading the page. 2. the first time I fire the event it...
1
by: Ben Schumacher | last post by:
I have a page that implements ICallbackEventHandler. I'm trying to accomplish auto saving a page everytime the user navigates away from the page. To initialize the callback, I fire the onunload...
1
by: =?Utf-8?B?RGF2aWQgUmVoYWdlbg==?= | last post by:
I currently have a custom control that implements the ICallbackEventHandler interface. Currently it works when the control is added to a standard web form. It does not work however when added to...
1
by: Ian | last post by:
Question: Is there a way to multi-thread ICallbackEventHandler using delegates? Problem: I'm executing client-side calls to my page, which implements ICallbackEventHandler. I need to implement...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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...

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.