ASP routing vs relative links
I'm trying to implement routing on a simple site using web forms 3.5 SP1. The problem is that the site is using a simple form of CMS, so the user can create html content and add images. Since all the 'articles' in the database are stored with the image urls relative to the Default.aspx and my route is idCat/*categoryPath, all the images now appear broken.
I guess I could pa开发者_如何学JAVArse all the src and href attributes in the articles on the fly, but I'm hoping for a better solution...
In most WYSIWYG editors there is a configuration value to set the full path for uploaded images.
UPDATE: For you comment, ckEditor! It is much more robust and has the option I have mentioned.
精彩评论