locked
Custom Controls RRS feed

  • Question

  • User594607912 posted

    Hi

    Hopefully someone can help me with creating a custom control (I have never made one before)

     

    I want to create a custom listview control that will have 3 columns (Frequency, Days and Time)

    When a user adds a new item I want the 3 items to display drop down menus so they can select the relevant frequency, days and times

    I don't want to use any existing controls someone else has made as I'd rather know how to do it myself

    So far I can add a drop down menu into the custom listview by calling this.Controls.Add('a combo box') but I want the combobox to be added into the listviewitem instead

    Is this possible? 

    Many thanks

    Wednesday, February 17, 2010 12:57 PM

All replies

  • User-1659704165 posted

    Hi,

    http://msdn.microsoft.com/en-us/library/zt27tfhy%28lightweight%29.aspx

    chk the above link.

    It has Good link for Creating server control or usercontrol

    Thursday, February 18, 2010 12:55 AM
  • User594607912 posted

    thanks but I actually need this for a windows form - sorry I should have mentioned that

    also I know how to create a custom control but I'm not sure how I can add a drop down menu into a listview item 

    Thursday, February 18, 2010 4:12 AM