Rank: Enthusiast
Joined: 7/26/2006 Posts: 29
|
I have a user control FileDownloader, which I have developed before umbraco with the purpose of taking an object of the type IFileStore as a parameter. This FileStore acts as an abstraction for getting the data I want.
Here comes the core of the problem. Is it possible in umbraco to transfer a custom object type like that to a user control via macros? If so, how?
|
 Rank: Aficionado
Joined: 7/19/2006 Posts: 190 Location: Norway
|
You can only send umbraco-datatypes to your macros/usercontrols.
So, an IFileStore wount do here. I think you might have to create a wrapper for this so it can communicate with umbraco.
Daniel
|
Rank: Enthusiast
Joined: 7/26/2006 Posts: 29
|
Well... I guess I have to then :/
I could make a decendant that is specific to this solution that creates the FileStore or takes it from globals.
Hmmmmm.....
This is a feature-request, if it may be possible in future versions of umbraco ;)
|