Login Register

ajax

asp.net and dojo, can you plug in via a http handler?

Hi

I'm contracting for a company who have created a .net REST/JSON api. I've got to use Dojo to connect to this system. I'm a c# asp.net developer myself and have seen the power of dojo and am really keen to use it in some future projects. I've never used it before so I'm on a learning curve with it.

Bug with ajax UpdatePanel control

Hi everybody,
I am having a big problem with an Ajax UpdatePanel. Since I place it in my form, everytime I use the Dijit DateTime Textbox the following javascript error happen:
[Exception... "'Sys.ParameterCountException: Sys.ParameterCountException: Parameter count mismatch.' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "" data: no].
I have realised that it happens when I add the ScriptManager control into the page.
So this is an important bug!
Can someone help me?
Thanks in advance,
Luis Pedraz

what is dojo doing in onLoad?

if the link was created by event , the result will show in window.
if the link was created before onload , the result will show in tagets.

what is dojo doing in onLoad?

test operation:
click 'add event link' --> 'it is a insert link on click' show in window
click 'it is a insert link before onload' or 'it is a hard-coding link' show in tagets. 
 
test Code:
<a herf="#" onclick="return doInsertLink()" >add event link </a><br/><br/>

Aptana Senior Web Developer

Senior Web Developer

About us:

JavaScript Architect for Aptana Jaxer

JavaScript Architect for Aptana Jaxer

About us:

building ajax sites

Hi,

I started using Dojo fairly recently but have got quite comfortable adding Ajax functionality to a PHP/HTML site.

However I wondered if anyone could recommend any good resources or tutorials for how to design an Ajax site from the ground up. In particular making SEO compatible fallback in the easiest way possible.

An Ajax project that seems to do this quite well is http://www.demozzz.com/orca/demo/ but there may be easier ways to learn than trying to understand their code. They seem to be using XSLT however it's not something I've used before.

NYC dojoX developer needed to create reporting module for database management automation software developer

THIS IS A PROJECT - NOT A JOB OPPORTUNITY; HOWEVER...

GridApp Systems does database management automation better than anyone else...but we need you to provide the front-end reporting expertise using dojoX;, AJAX, Java, and/or Flash (obviously dojo is preferred because AJAX flakes out in the thousands-of-rows area we need).

You have a great sense of the GUI as well as BI experience. Given that the front-end is OO PHP, Perl, JavaScript, and HTML, knowing these couldn't hurt.

Dynamic tree using AJAX?

What I want to do is create a forest based on the primary key of a database and only load the rest of the data beneath a given node after it is selected/expanded. What would be the best approach for something like that?

From what I have read it sounds like I would just use AJAX to load the data into a json and then use that to create the tree. The trick is updating that json store when a tree node is selected. Do I just need to write some code to do a custom merge of the json data using onclick or is there a better way to do this?

Thanks.

Sending image dynamically to the browser.

Hi All,
Is there any way in which I can send a dynamically generated image from the server to the browser. On thing that comes to my mind is (I am using Java on the server side). I would read an Image on the server using streams, base64encode it... and send it Via AJAX to the browser. The Browser in turn using a base64decoder will get the bytes again...

1. What NEXT? now if I have the image in the form of bytes... how do I display it on the screen?
2. Will any browser stop me from doing this?

Regards,
Yazad

Syndicate content