Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
blipfade  
#1 Posted : Thursday, November 18, 2010 9:11:50 AM(UTC)
blipfade

Rank: Newbie

Groups: Member
Joined: 11/18/2010(UTC)
Posts: 2

I'm evaluating the Image Uploader for a client and I'm having problems. I was given a download link which installed Image Uploader 7.0.11.

I fired up the sample app and none of the uploaders are rendering. The javascript error is this:


"missing ) after argument list" - ../BasicDemo/Default.aspx, Line 68


It looks like the error *may* be related to this output (newlines added for clarity):


if (ctl00_content_Uploader1.type() == 'java')
{
ctl00_content_Uploader1.metadata().addCookie('RadEditorGlobalSerializeCookie=...'Statistics',true...');
}

ctl00_content_Uploader1.metadata().addCustomField('ASPNET_UploaderID', 'ctl00_content_Uploader1');


Note that the addCookie() function has single quotes around a string with single quotes in it. That's bad, I'm guessing.

Any, time is of the essence and I'd just like a working version of this control.
Is there somewhere I can download a prior version that works?

thanks

pt
Dmitry.Obukhov  
#2 Posted : Friday, November 19, 2010 12:54:32 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Hello,

Thanks for contacting us.

Could you please clarify some information on the cookie you have? Do you add the cookie RadEditorGlobalSerializeCookie yourself? In this case, please use encoding when you send it, e.g.:
Code:
 string value = HttpUtility.UrlEncode("your cookie");
Response.SetCookie(new HttpCookie("val1", value));

and decoding when you need get it:
Code:
string v1 = HttpUtility.UrlDecode(Request.Cookies["val1"].Value);

If you do not add cookie, please let me know about it.
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
blipfade  
#3 Posted : Friday, November 19, 2010 9:52:30 AM(UTC)
blipfade

Rank: Newbie

Groups: Member
Joined: 11/18/2010(UTC)
Posts: 2

Hi Dimitry,

I didn't realize this cookie was not part of your application.

I didn't actually add that cookie myself.

The site I'm working on was formerly using an old version of the Telerik RAD Html control, and I'm thinking that cookie is left-over. The RAD control is no longer used. I deleted the cookie and your control works fine now.

So it appears there is no problem here.

Thanks for your time!

pt
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.