I wish to create a user defined control (which contains a text box and a find button) and place it on a form which has a datagridview. The idea being the user clicks on the column header and inputs search text in the textbox and clicks the find button which uses the dataview.Rowfilter code to bring back the filtered rows.
Now what I need help is to code the user defined search control in such a way that when I drag the control from my toolbox onto the form with a datagridview it should be fully funtionaly i.e no need for me to add any extra coding manually.Is that possible.?
Now, I managed to create the control and was able placed it on my form.I am also able to access the parent form but I am not able to access the dataview of the tabpage on which the datagridview resides. Am I in the right direction or is there a better way to approach this ..?