So I have an ASP.net application that has FriendlyURLs enabled (and used) and a crystal report viewer. I am running into an issue with the images on the viewer.
The viewer is on a page called viewreport which when displayed the url shows:
http://site.com/viewreport/
crystal reports uses a file called CrystalImageHandler.aspx for displaying images which ends up creating a url like:
But it does not work, I can use javascript to replace all instances of "CrystalImageHandler" in the img src to "/CrystalImageHandler" which shows the images, but since reports can take either a long or short time to load (and the page is considered loaded) outside of having a "Show Images" button I can't rely on the javascript to fire when it should.
Does anyone have any suggestions or ideas on how to get it to redirect from /viewreport/CrystalImageHandler.aspx to /CrystalImageHandler.aspx without requiring user interaction.
Glary Utilities 6.27.0.31 by Razvan Serea
Glary Utilities offers numerous powerful and easy-to-use system tools and utilities to fix, speed up, maintain and protect your PC.
Glary Utilities allow you to clean common system junk files, as well as invalid registry entries and Internet traces. You can manage and delete browser add-ons, analyze disk space usage and find duplicate files. You can also view and manage installed shell extensions, encrypt your files from unauthorized access and use, split large files into smaller manageable files and then rejoin them. Furthermore, Glary Utilities includes the options to find, fix, or remove broken Windows shortcuts, manage the programs that start at Windows startup and uninstall software.
All Glary Utilities tools can be accessed through an eye-pleasing and totally simplistic interface. Glary Utilities 6.27.0.31 changelog: Optimized Disk Cleaner: Optimized the scanning algorithm for Firefox to enhance user experience.
Optimized Disk Cleaner: Added support for Nitro Pro 14.
Optimized Tracks Eraser: Optimized the scanning algorithm for Firefox to enhance user experience.
Optimized Tracks Eraser: Added support for Nitro Pro 14.
Optimized Startup Manager: Optimized the review algorithm to enhance user experience.
Optimized Uninstaller Manager: Optimized the scanning algorithm to enhance user experience.
Minor GUI improvements.
Minor bug fixes.
Download: Glary Utilities 6.27.0.31 | 27.0 MB (Freeware)
Download: Portable Glary Utilities | 32.3 MB
View: Glary Utilities Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
Microsoft made it very clear : they are not able to create a simple/user-friendly/to the point start-menu.
I suggest that they have a look at START 11 made by Stardock
Question
firey
So I have an ASP.net application that has FriendlyURLs enabled (and used) and a crystal report viewer. I am running into an issue with the images on the viewer.
The viewer is on a page called viewreport which when displayed the url shows:
crystal reports uses a file called CrystalImageHandler.aspx for displaying images which ends up creating a url like:
Which doesn't work. Because routing is enabled, it treats the first part as a the page then
Ends up being an argument causing images to not load. I have tried to modify the httpHandlers to something like:
But it does not work, I can use javascript to replace all instances of "CrystalImageHandler" in the img src to "/CrystalImageHandler" which shows the images, but since reports can take either a long or short time to load (and the page is considered loaded) outside of having a "Show Images" button I can't rely on the javascript to fire when it should.
Does anyone have any suggestions or ideas on how to get it to redirect from /viewreport/CrystalImageHandler.aspx to /CrystalImageHandler.aspx without requiring user interaction.
Link to comment
https://www.neowin.net/forum/topic/1248322-aspnet-friendly-urls-breaking-crystal-report-images/Share on other sites
1 answer to this question
Recommended Posts