File Upload Dialog
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
«««1234»»
File Upload Dialog
Subscribe
Last Login: 7/5/2010 8:29:46 AM
Posts: 427,
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: 7/5/2010 8:29:46 AM
Posts: 427,
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: 5/8/2010 3:44:16 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 (237 views, 932.50 KB)
Last Login: 6/19/2010 6:54:27 AM
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: 5/26/2010 1:24:34 PM
Posts: 83,
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: 6/19/2010 6:54:27 AM
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: 2/24/2010 11:48:18 PM
Posts: 19,
Posted 2/19/2009 12:21:34 AM

Group: Coolite Early Adopter


Hi. Is there any sample using PostURL?

Last Login: 6/5/2010 9:18:39 AM
Posts: 5,
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 -5:00, Time now is 8:52pm