Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jordi 25 posts 47 karma points
    Feb 16, 2012 @ 12:05
    Jordi
    0

    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

     

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Feb 16, 2012 @ 12:14
    Lee Kelleher
    0

    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.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies