Hi,

use the HttpReferer property or add the value of
document.location.href as an argument (String) for your AjaxMethod.

Regards,
Michael


On 9/29/06, royston_ang <[EMAIL PROTECTED]> wrote:
>
> Is there any way to identify the page calling the Ajax Pro method?
>
> For example
>
> I have a page called Registration.aspx. When it invoke a Ajax Pro
> method, the HttpContext.Current.Request.Url     return
> "http://localhost/ajaxpro/Base_Registration,App_Web_ldinkqmb.ashx";
> instead of "http://localhost/Registration.aspx";. Is there any way to
> identify the call is from "http://localhost/Registration.aspx";?
>
>
> >
>


-- 
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/

Skype: callto:schwarz-interactive
MSN IM: [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/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to