I am having an issue with my attempt to upload, crop an image and then save it. At first i upload and it works like it should but for some reason it does not add the cropper (the square you use to crop the image with) and if i simply press the Crop button
it tells me that the inputstring is not in correct format.
I use a masterpage and because of this i had to add <%= X.ClientID %> as far as i could read from other peoples issues with finding values.
Bump. :( Im not even sure why the admins put this under this category since im pretty sure it's a javascript issue.. but anyhows i hope there's still someone who sees this and can help.
Member
28 Points
124 Posts
JCrop with Upload cannot find value
Mar 18, 2011 10:21 AM|Chrenner|LINK
Hi.
I am having an issue with my attempt to upload, crop an image and then save it. At first i upload and it works like it should but for some reason it does not add the cropper (the square you use to crop the image with) and if i simply press the Crop button it tells me that the inputstring is not in correct format.
I use a masterpage and because of this i had to add <%= X.ClientID %> as far as i could read from other peoples issues with finding values.
Top of my .aspx page:
Here's my .aspx page:
And here's my .cs page:
I am pretty lost at this point since everything looks right to me, but hopefully you can see if i've made a mistake somewhere?
Member
28 Points
124 Posts
Re: JCrop with Upload cannot find value
Mar 19, 2011 07:23 AM|Chrenner|LINK
Bump. :( Im not even sure why the admins put this under this category since im pretty sure it's a javascript issue.. but anyhows i hope there's still someone who sees this and can help.
Member
28 Points
124 Posts
Re: JCrop with Upload cannot find value
Mar 19, 2011 02:38 PM|Chrenner|LINK
I figured it out. My script was not setup properly to retrieve the values and the image. This is the correct way:
I had forgotten to use the #<%=X.ClientID%> on the image as well and forgot to add the # in front of the code of the 4 values