Hi,

you may use the second argument for RegisterTypeForAjax if using
Server.Transfer, the instance of the page.

And, have a look at the example web.config in the release download,
the location tag should be used due a bug in IIS.

Michael

On 10/10/06, Andyh321 <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> I have been implementing some AJAX code on my new Website using
> AjaxPro, and I have managed to successfully query my database etc with
> it.
>
> However, I have run into a problem due to me having some
> server.transfer code to allow my users (and search engines) to use
> static URL's for my pages.
>
> My problem is as follows:
>
> If I browse to
> http://www.mywebsite.com/mypage.aspx?aaa=1&bbb=2
> then my AjaxPro code works prefectly.
>
> If I browse to
> http://www.mywebsite.com/shop/cars/ferrari/
> and using a server.transfer within the 404.aspx file to point the page
> to
> http://www.mywebsite.com/mypage.aspx?aaa=1&bbb=2
> then my AjaxPro code does not work.
>
> The reason for this I believe is due to the httpHandler within
> web.config (AjaxPro.AjaxHandlerFactory) pointing to
> path="ajaxpro/*.ashx". This is obviously not possible with my current
> URL.
>
> I have included a base href tag in my page, and I have also changed the
> httpHandler to use a full path for my ashx files, but neither of these
> methods have worked.
>
> Does anyone have any ideas please, and help would be greatly
> appreciated!
>
> Thanks in advance
>
> Andy
>
>
> >
>


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

The open source project is now located at
http://www.codeplex.com/Wiki/View.aspx?ProjectName=AjaxPro
-~----------~----~----~----~------~----~------~--~---

Reply via email to