Hi,
it is not possible to exchange handles in Ajax.NET Professional. The
variable w is only in memory and you will not be able to use it in
another session.
Regards,
Michael
On 6/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Is it possible to pass a window object between Javascript and C# using
> a AJAX.net.
>
> I have the following:
>
> var w = openWindow('WebForm2.aspx', '_blank', '780', '500');
> ButtonApp.WindowManager.add("Test", w, addCallback);
>
> Next, I have the following:
>
> [AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.ReadWrite)]
> public bool add(string pageName, object form) {
> if( !contains(pageName) ) {
> MyHashTable[pageName] = form;
> return true;
> }
> return false;
> }
>
> However, the form object is always undefined...
>
>
> >
>
--
Best regards | Schöne Grüße
Michael
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://weblogs.asp.net/mschwarz/
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---