Technical support This forum is closed.
Version 1.x > Technical support > Question View modes: 
User avatar
Member
Member
janusz - 5/16/2005 4:40:41 PM
   
Question
Hello,

Is it possible to put ASCX controls somewhere in the folder below the solution or the controls must reside in the solution root folder. It seems to me that I cannot use the ASCX controls in CMS Viewer using %%control:myControl%% syntax when I put them in subfolders.

Cheers,

Janusz

User avatar
Guest
admin - 5/19/2005 2:01:52 PM
   
Re: Question
Hi Janusz,

I'm sorry for the delay in answering this question. You can place the ASCX controls into some subfolder and use an expression like this one:

%%control:subdir/header%%

Please note that there's a slash, not a backslash.

If this doesn't help you, could you please send me more details on your configuration?

Thank you.

Best Regards,

User avatar
Member
Member
janusz - 5/19/2005 2:10:23 PM
   
Re: Question
Thanks for the replay.

However, I think I will stick with having the ASCX controls in project root.

My idea is that content writers will include these %%control:subdir/header%% tags in the content. I want to keep this expression as simple as possible. I can see possible problems in future when the directory structure changes and all the tags would have to be changed.

Would it be possible to include a new feature in next version that would allow to set the directory where the ASCX files reside so the %%control:header%% could be the same?

Thanks,

Janusz


User avatar
Guest
admin - 5/19/2005 5:45:09 PM
   
Re: Question
Hi Janusz,

Thank you for this suggestion. Yes, we could implement this in the next version.

Best Regards,

User avatar
Member
Member
janusz - 5/19/2005 6:02:11 PM
   
Re: Question
Thanks a lot!

Janusz