I have added the example enum in a class in App_Code but I Think the code in this folder does not create any assembly. So I am not able to choose the assemly in the Setting.
At present the Enum DropDownList only lists the assemblies in the /bin directory. As you say, the classes in the App_Code folder aren't compiled into a DLL/assembly.
Your options are:
1. Compile the enum/class into a standalone assembly - then you can reference that.
2. Take a different route; try using the XPath DropDownList? Define the options as content/nodes and set the XPath accordingly. (Happy to explain further, if needed?)
Going forwards, we can investigate into listing App_Code classes/enums - but no estimates of when that would be at the moment.
How to use eNum Dropdownlist if I use App_Code
I am looking at the example at http://ucomponents.codeplex.com/wikipage?title=Enum%20DropDownList
I have added the example enum in a class in App_Code but I Think the code in this folder does not create any assembly. So I am not able to choose the assemly in the Setting.
What can I do? Thanks
Hi Jordi,
At present the Enum DropDownList only lists the assemblies in the /bin directory. As you say, the classes in the App_Code folder aren't compiled into a DLL/assembly.
Your options are:
1. Compile the enum/class into a standalone assembly - then you can reference that.
2. Take a different route; try using the XPath DropDownList? Define the options as content/nodes and set the XPath accordingly. (Happy to explain further, if needed?)
Going forwards, we can investigate into listing App_Code classes/enums - but no estimates of when that would be at the moment.
Cheers, Lee.
is working on a reply...