Re: Ajax, Webmethod, PageMethod (multiple versions)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hello Rory,

Ohhh. actually even if it were allowed to do this, I'd strongly don't recommed you to do this, because it's gonna be mess.
You need to divide these domain areas. And I consider that incorporating all specific loging into web Service will be the best case for you.

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo


RB> Hello Michael Nemtsev [MVP],
RB>
not quite understood the following

RB>>> I realised that the page that has to generate the calling code is
RB>>> not the page which willl be recieving the call.
RB>>>
pagemethods allow you to call the server methods from client code.
You are using the same page to call the pagemethod and receive the
result
back
RB> I wish to have the user visit http://site1.com/Page1.aspx
RB> RB> Page1.aspx needs to then, at some point, make a call to a method
RB> whose implementation is actually at http://site2.com/Page2.aspx
RB> RB> I thought that Pagemethods only allowed the button which was
RB> generated in page1 to call back to a method on page1.
RB> RB> Am I wrong?
RB> RB> --
RB> Rory


.


Quantcast