Rank: Member
Groups: Member
Joined: 1/14/2008(UTC) Posts: 18
|
If you add a ImageUploader and a UploadPane using the control you get this error: 'up' is undefinedThe problem is with the wrapper.. This is the javascript it creates: Code://<![CDATA[
var iu = new UploadPaneWriter("ImageUploader1", 300, 200);
up.activeXControlCodeBase = "ImageUploader5.cab";
up.javaAppletCodeBase = "";
up.addParam("ParentControlName", "ImageUploader");
up.writeHtml();
//]]>
It should beCode://<![CDATA[
var [color=blue]up[/color] = new UploadPaneWriter("ImageUploader1", 300, 200);
up.activeXControlCodeBase = "ImageUploader5.cab";
up.javaAppletCodeBase = "";
up.addParam("ParentControlName", "ImageUploader");
up.writeHtml();
//]]>
Edited by user Tuesday, February 26, 2008 6:45:32 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Joined: 7/26/2006(UTC) Posts: 203
|
Thank you for this bug report. We will fix it in further releases. Note: We provide ASP.NET controls with the source code to give you ability to change some parts of code with no limits. Edited by user Wednesday, February 6, 2008 3:04:35 AM(UTC)
| Reason: Not specified |
Best regards, George Ulyanov
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
I am working over the update. Right now just open BaseControl.cs file and update code on line 492 to the following one: Code:writer.WriteLine("var " + JavaScriptWriterVariableName + " = new " + JavaScriptWriter
+ "(\"" + JavaScriptEncode(this.ID) + "\", "
+ this.Width.Value.ToString(cultureInfo) + ", " // TODO: In pixels only
+ this.Height.Value.ToString(cultureInfo) + ");"); // TODO: In pixels only
|
Best regards, Fedor Skvortsov
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 7/28/2003(UTC) Posts: 1,659
Thanks: 5 times Was thanked: 76 time(s) in 74 post(s)
|
|
Best regards, Fedor Skvortsov
|
|
|
|
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.