inaccessible property RRS feed

  • Question

  • User-1908152456 posted


     Sorry my bad english.

     I created my control and render this:

    <cc1:MyControl ID="ctrl" runat="server">
        <MyItem ImageUrl="~/Images/foo.jpg" />

    But, the property "ImageUrl" is not accessible from MyItem (compile error)

    how can i solve this?!

    # MyIten inherits from Image


    Friday, April 4, 2008 3:09 PM


  • User-16411453 posted

    You have to enclose the property in brackets for VB, not sure about CS 


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, April 4, 2008 5:24 PM