Hi everybody,
I am very new to Ajax.Net Pro, Here I have a simple method which uses
webservices. here is the code
[AjaxPro.AjaxMethod]
public DateTime GetMapStateXml()
{
string oMapStateXML;
MapService.Login oMapService = new
MapClient.MapService.Login();
oMapService.GenerateMap(out oMapStateXML);
oMapStateXML = "Hello";
//return oMapStateXML;
return DateTime.Now;
}
The above method was created just based on the demo code, It works fine
when I comment the webservice call (oMapService.GenerateMap(out
oMapStateXML); the control is not comming back to the client script (it
does everything it supposed to do on the server side like the control
comes back until return DateTime.Now that means the webservice call is
successful) ...... but when I comment that particular call every thing
works fine. Please help me, Thanks allot in advance.
Thank You,
shashi.
--~--~---------~--~----~------------~-------~--~----~
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/
-~----------~----~----~----~------~----~------~--~---