Have you tried looking at the JSON being passed to the Ajax.NET httphandler? (Use Fiddler for IE or Tamper Data for Firefox).
I've encountered recently instances where a _javascript_ null in the array will cause problems.
Just a thought.
On 8/22/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
I have lost about a day of work over this, and still can't figure it
out. I can't find anything online or in this group... but its possible
I missed something. Nevertheless, here is what is happening:
I have a modal using subModal. This 'window' generates a _javascript_
array full of _javascript_ objects and passes this one to the parent
window using the call window.parent.<funcall>( arr ). Here is where it
get s funky, if I pass that array straight into an ajax call, it
doesn't work, the function accepting a param _javascript_Array. Now, here
is where it really doesn't make sense, and leads me to believe that the
issue is with _javascript_ and the way it scopes the variables. If i
iterate through that passed array, pushing all the items to a temporary
array on the parent window, then pass the temp array in, it works as
expected. I just don't get it.
So in short, there is a workaround, but not a very good one... I hope
that I am just an idiot, but I can't figure it out.
-Nick
--
OpenSubject: for efficient mail
----------------------------------------------
NRN: No Reply Necessary
RYN: Reply with 'Yes' or 'No'
AYQ: Answering Your question
ATC: Attachement is important
1QM: One Question Message
MQM: Multiple Question Message
FYA: For your Archive
FYI: For your information (NRN)
WFR: Waiting for your Reply/Advice/Permission
AET: Answer Expected Today/this Week/within a Month
RAF: Read and Forward (jokes, quotes, interesting)
----------------------------------------------
More information: http://opensubject.pbwiki.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---
