Mirkovitch
-
1/19/2010 11:21:14 AM
My own WebPart doesn't work
Helo, I have some problems with implementation of my own web parts on a kentico site. Let me explain:
I'm creating my own Webparts using same JavaScript. When I tast it in my environment it works great. Then when I put the exact code on a kentico Site- nothing works anymore.
I am testing one control for croping images. I have one dll in Bin folder, registered in kentico web.config on <HttpHandlers> <add path="Sample.axd" verb="*" type="Sample.Control.HttpHandler" validate="false"/> </HttpHandlers>
Control works but the image is not displayed, when I bug it I find one strange thing: IN MY ENVIRONMENT: <Img Src="Sample.axd?cropCacheId=d8ce3799-3cef-4d68-8cf2-d864eb99dd3f" IN KENTICO: <Img Src="../Sample.axd?cropCacheId=d8ce3799-3cef-4d68-8cf2-d864eb99dd3f"
The only diferent is thet someone-something puts ../ infront of Sample.axd
Why is this happening, how can I solve this?
|