I have to replace the scripts with the scriptreplacement tags to an
other path than ajaxpro. So I add this to my webconfig:

<scriptReplacements>
  <file name="core" path="~/desktopmodules/ajaxpro/core.ashx" />
  <file name="prototype" path="~/desktopmodules/ajaxpro/prototype.ashx"
/>
  <file name="converter" path="~/desktopmodules/ajaxpro/converter.ashx"
/>
</scriptReplacements>

But the next item also need a replacement:

<script type="text/javascript"
src="/App/ajaxpro/CMS.Customer.PhotoAlbum.Album,CMS.Customer.PhotoAlbum.ashx"></script>

adding this, to my webconfig <scriptReplacement> section doesn't work :

<file name="CMS.Customer.PhotoAlbum.Album,CMS.Customer.PhotoAlbum.ashx"
path="~/desktopmodules/ajaxpro/CMS.Customer.PhotoAlbum.Album,CMS.Customer.PhotoAlbum.ashx"
/>

I also try to add the script tags by hand in the aspx file, and use the
right urls, and delete ofcourse the next line in the code behind:

AjaxPro.Utility.RegisterTypeForAjax

But this does'nt work either because the
CMS.Customer.PhotoAlbum.Album,CMS.Customer.PhotoAlbum.ashx is keeping
containing the next line:

this.url=
'/Customer/ajaxpro/CMS.Customer.PhotoAlbum.Album,CMS.Customer.PhotoAlbum.ashx';

instead of:

this.url=
'/Customer/desktopmodules/ajaxpro/CMS.Customer.PhotoAlbum.Album,CMS.Customer.PhotoAlbum.ashx';

What is the workaround for a problem like this??

Regards,

Jeroen


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

Reply via email to