Custom Object Types as User Control Parameters Options
Maedhros
Posted: Wednesday, August 16, 2006 1:18:38 PM
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?
daniel
Posted: Wednesday, August 16, 2006 4:44:54 PM

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
Maedhros
Posted: Thursday, August 17, 2006 11:53:50 AM
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 ;)
Users browsing this topic
Guest


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.