Hi,
I’ve a problem with the ImageUpload extension that resize the image before uploade…I’m using vb and not c#, when i click on the button that should call the “upload” event I’ve this error:
Wisej: Widget class not found, scheduling for lazy loading: wisej.web.ext.ImageUpload
Wisej: onActionCreate Error creating: { , middleRig………..
Wisej: Widget not found: id_782; function: upload
The steps that I’ve followed are:
Me.MyImageUpload.Call(“upload”, “”)
What can i check?
I’m using the control in a user control. Then I would like to use it on other pages, deployed in a different project, is it possible? In this case I’ve to added the js file also to the main project or is it includes in the user control?
Thank you
Giorgia
I’ve named the file Platform.Wisej.Web.ext.ImageUpload but doesn’t work yet.
In the js file, when I define the class:
qx.Class.define(“wisej.web.ext.ImageUpload”, {
extend: wisej.web.Upload,
properties: {
I have to define the name “wisej.web.ext.ImageUpload” or I have to set the name with also Platform at the start?
Thank you
Giorgia
Hello,
Looks like the VB.NET compiler doesn’t use the folder names to build the embedded resource name. It only uses the default namespace of the project + the file name.
You can still place your embedded resources in \Resources or \Platform in VB.NET, but you also have to rename the file like this:
For more info, please check out the relevant documentation about Embedded Resources (Look a the VB.NET alert).
HTH,
Alaa
Hi Alaa,
when I create the file js, I create the folder “Platform” and I enable the attribute in the AssemblyInfo file.
To embedded the javascript I have to do something else? If yes, what I have to do?
Thank you very much for the support
Thank you for the answer, yes I’ve remove comment on the assemblyinfo.vb.file..I’ve attached an example, I rewrite it in c# but I have the same error, so I miss something.
Thank you
Hi,
Would you be able to attach a sample so I can take a look ?
Looks like you haven’t enabled the attribute in your AssemblyInfo.vb file.
Can you enable it and then tell me if it’s working ?
Best,
Alaa
Please login first to submit.