My question is --> what is the best way to convert userControl to a Custom control.
I already have been able to create a very simple header and footer Custom controls.
But now I want to convert a search-bar userControl to Custom control -->
it has 3labels, textbox, go button, and dropdownlist where search result are displayed.
Idea is that you pick the customer from the list and userControl gives you the CustomerID.
So it uses a database to do the search - and datareader to put the results in dropDownList.
it also has events --> customerID_changed event for example (when you select different customer on the list)