Welcome to Rainbow Portal Community Sign in | Join | Help

Rainbow with magic ajax

A little update:

Eric sent me the latest AJAX dll, posted on the community files list.

I have successfully configured my wizard to save settings and all that, however, I am still debugging the ajaxified version.

Basically, I have the settings wizard implementing magic ajax, to add functionality. This works great, the wizard posts back using ajax, and my message control is rendered to the page correctly, with all the server side debug statements ( wonderful ).

I am stuck on one snag, where they update is not actually being applied. What I mean is that when the update method runs on the server, it is updating with the values from the server, and not pulling in my new form values. ( if I disable the Ajax, and do a regular post back, my values are saved correctly ).

I am going to work on this today and tomorrow. If I can not solve this issue by myself by Saturday, I will commit my code to my trunk anyway, and hopefully someone else can help me out. ( I think my problem is that I get a little lost in the events ).

second, I have been working with "ajaxifying" the add module module. This also is working kind of nicely, but not 100%. I have managed to successfully add some modules to the page, but not all. I am wondering if this traces to bugs in the module, or a limitation in the implementation so far. we will see. I imagine this will take a little  time to get to work properly, but it will happen soon enough. ( I can't guarantee I will commit this code along with the others, because it might be too buggy still ).

My favorite feature of what I am working on so far is the Message Control. Used in conjunction with an Ajax panel, I am able to run call backs to the server, and return a nicely formatted prompt to the user with a div that is also hidden using a link button. The coolest part is that the visibility is controlled entirely server side!!!!

Published giovedì 9 febbraio 2006 18.15 by Jonathan

Comments

# re: Rainbow with magic ajax

giovedì 9 febbraio 2006 17.13 by ramseur
Very nice jon. I look forward to seeing this new callback feature. A lot of companies have one for static content and it would be nice if you could create one for getting static/dynamic content on the page. Check out this url : http://www.componentart.com/CallBack/default.aspx

Also dont be afraid to push buggy code into YOUR developer directory. This way anyone getting it knows it could be buggy and is not the production quality. However, users can play with it and get it to work and the same with devs. You have been looking at it for a while and if you give a new set of eyes they might just find your issue. Keep up the good work.

ramseur

# re: Rainbow with magic ajax

giovedì 9 febbraio 2006 17.21 by Jonathan
Thanks, I agree with what your saying about the buggy code, and dev directory. IYour right, i will commit on saturday or sunday, and start getting those fresh eys looking at it.

Maybe whlie someone looks at that, I will be able to continue foward and push the ajaxified add module feature foward as well. ( i removed this from my code base for now, becuase i wanted to solidfy the settings wizard ).

anyway, either saturday or sunday, i will post my code to my drunk... promise.

# re: Rainbow with magic ajax

giovedì 16 febbraio 2006 9.44 by amirj
Hi,
I have a problem with MagicAjax 0.3.0 and Rainbow2005 in ASP.NET 1.1 :
MagicAjax not work in my module and when page is loading some _javascript error is occur ("Expected Identifier").
Do you have a solution for it ???
Regard,

# re: Rainbow with magic ajax

giovedì 16 febbraio 2006 12.59 by Jonathan
How did you set up your web.config for magix ajax?
Which module did you try and what effect were you waiting to see?
The javacript is problay a misconfiguration.... tell me your web config, and how you put ajax on a page.

# re: Rainbow with magic ajax

giovedì 16 febbraio 2006 21.31 by amirj
Hi,
Here is my web.config setting(Default):
<httpmodules>
<add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" />
</httpmodules>
I was create a new module that contain a AjaxPanel an a button !
When page is loaded, 2 javascript error is occur("Expected Identifier"), and when i click on my Button, page is "PostBack" insted of "AjaxCall".
--------------------------------
Althought same project is work properly.
--------------------------------
Please look at this thread : http://forum.magicajax.net/forums/310/ShowPost.aspx may be useful !!!
Regard,
Anonymous comments are disabled