Click here to Skip to main content
15,867,141 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
hello

I am looking for an usercontrol that locate header of my form and load with design time adjustment for showing controls like textbox , combo and ...
user use them for data filtering
when press search button of usercontrol i get controls value in it custom event and pass to database query to filtering data

how can i implement this idea?
help me please ...
Posted
Comments
Sergey Alexandrovich Kryukov 11-Apr-15 0:30am    
Not clear. What do you mean by "form", System.Windows.Forms.Form or Web form? What's the problem?
—SA
daghune 11-Apr-15 0:56am    
windowsform. i want to have a usercontrol that can init it controls customize
for example one form need some filter controls another needs some another filtercontrols
and then user submit search button i get controls value to filter in Database query
Sergey Alexandrovich Kryukov 11-Apr-15 0:58am    
All right, and what's the problem? This is not yet a question.
—SA
daghune 11-Apr-15 1:03am    
i dont have any idea to implement this usercontrol , i need some help
for sizing controls on usercontrol , for example if i add them to usercontrol with On a TableLayOutPanel how it feel when for resize and ....
or is there any better idea to add them to usercontrol?
Sergey Alexandrovich Kryukov 11-Apr-15 1:20am    
If you have no idea at all, it makes you not qualified for the Quick Answers. Have you done any custom controls or user controls at all? If not, it makes sense to learn this topic first, do some exercises, and come back later. This is not a school; we help solving problems; and what you say is not a problem, just some work to do.

"How it fill when for resize..." — not clear. How? How any other control... and so on...

—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900