File Upload Dialog
Coolite Toolkit Version 0.8.2 now available for DOWNLOAD | See also Examples Explorer | Version 1.0 available ~Jan 2010
 

Coolite Forums

Welcome Guest ( Login | Register )
 
«««1234»»
File Upload Dialog
Subscribe
Last Login: 1/16/2010 7:54:37 AM
Posts: 398,
Posted 1/15/2009 10:34:25 AM

Group: Coolite Premium Member & Early Adopter
 Hi mindcore1,

thanx for reply.

well I save my business object first and then I do the upload process, at least this is my scenario.
Indeed, after my bo has been stored, I enable FileUploadDialog control.

Maybe from my steps above is not so clear, I semplified the procedure.

Thanx

Matteo


Last Login: 1/16/2010 7:54:37 AM
Posts: 398,
Posted 1/17/2009 7:05:16 AM

Group: Coolite Premium Member & Early Adopter
 Hi all,

from my previous post:



how can I pass values from code behind to the FileUploadDialog parameters?



Thanx a lot

Matteo


Last Login: 11/18/2009 11:01:09 PM
Posts: 34,
Posted 2/3/2009 1:48:10 AM

Group: Coolite Early Adopter
Hi davidhoyt

I got an error in your .zip file when I run:

A Control with an ID of "ctl00_content_FileUploadDialog1" has already been initialized. Please ensure that all Controls have a unique id.

Source: Z:\server controls\ServerControls\Ext\FileUploadDialog.cs    Line: 1437

I simply ignore the error, but I have no idea it is a solution or not : )


Last Login: 3/13/2009 12:07:57 AM
Posts: 130,
Posted 2/4/2009 10:37:33 PM

Group: Coolite Premium Member & Early Adopter

I've been meaning to get this out for a while now. Here's an update with some minor fixes/tweaks to the dialog/code.

Post Attachments
Server Controls.zip (220 views, 932.50 KB)
Last Login: 5/10/2009 6:48:58 PM
Posts: 27,
Posted 2/8/2009 10:48:52 PM

Group: Coolite Early Adopter
 hi,
thanks a lot for the great effort, i added the dll to bin folder, also added the HTTP module sections, but when i get the following error

Could not load file or assembly 'Coolite.Ext.Web, Version=0.7.0.36502,
Culture=neutral, PublicKeyToken=f58c952e9aa5b80a' or one of its dependencies.
The located assembly's manifest definition does not match the assembly
reference. (Exception from HRESULT: 0x80131040)

Last Login: 11/3/2009 12:37:25 PM
Posts: 82,
Posted 2/9/2009 11:59:35 AM

Group: Coolite Premium Member & Early Adopter
 Hey Devworks:

David is probably using a build of Coolite from SVN and not the latest release on the downloads page.  You will probably have to integrate his attachment into your project and recompile Coolite.

-MC
Last Login: 5/10/2009 6:48:58 PM
Posts: 27,
Posted 2/9/2009 8:03:13 PM

Group: Coolite Early Adopter
 thanks a lot man for this help,
i will do what you said and check it out

Last Login: 3/13/2009 12:07:57 AM
Posts: 130,
Posted 2/11/2009 11:32:39 PM

Group: Coolite Premium Member & Early Adopter
 mindcore (mc) is exactly right.
Last Login: 12/8/2009 1:38:16 AM
Posts: 19,
Posted 2/19/2009 12:21:34 AM

Group: Coolite Early Adopter


Hi. Is there any sample using PostURL?

Last Login: 9/16/2009 7:02:04 AM
Posts: 1,
Posted 2/19/2009 1:07:53 AM

Group: Coolite Early Adopter
 Tried to use addictionalPostParameters


                If ObjVolume.IsPersisted Then
                    FileUploadDialog1.AdditionalPostParameters.Add("test", objVolume.id.tostring)
                End If


but it seems there are problem with serialization:

System.Runtime.Serialization.ObjectManager.GetConstructor(Type t, Type[] ctorParams) +7545689
System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context) +115

I noticed that AddictionalPostParameters is not tagged as a serializable class. Could that be the problem?
Is there any other way to pass parameters to the file upload control?

Pierluigi
« Prev Topic | Next Topic »
«««1234»»
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -8:00, Time now is 11:14pm