Custom Control's Constructor RRS feed

  • Question

  • User1366091751 posted

    I have a custom control which inherit from the Table class and in the constructor, it takes a an integer as an argument.  There is no empty constructor.

    Is there a way for the user to set that variable in the properties window after they drag the control onto a form.  

    I know some .NET controls, you can set the source for the parameter to different things like another control's property, QueryString using just the properties window.

    Right now, I have to create the control dynamically.  I read the query string and then created the object.

    Thursday, March 4, 2010 11:56 AM