Jun 29, 2006 #1 Ator Programmer Jan 23, 2006 26 SE Hi Does anyone know how to make these controls flat? - TextBox - ComboBox - CheckedListBox - DateTimePicker (ComboBox has a property "FlatStyle", but I can't change the border-color then) Is there any free controls to download? Kind regards
Hi Does anyone know how to make these controls flat? - TextBox - ComboBox - CheckedListBox - DateTimePicker (ComboBox has a property "FlatStyle", but I can't change the border-color then) Is there any free controls to download? Kind regards
Jun 30, 2006 #2 Affleck Technical User Jun 19, 2001 26 GB I presume by flat you mean the style? if so you need to create appropriate css styles and assign these to your control. eg. .flat { border:1px solid #ccc; } then in your control: <asp:textbox id=txt_Forename runat="server" cssclass="flat"></asp:textbox> Affleck there are 10 types of people in this world those who understand binary, and those who don't. Upvote 0 Downvote
I presume by flat you mean the style? if so you need to create appropriate css styles and assign these to your control. eg. .flat { border:1px solid #ccc; } then in your control: <asp:textbox id=txt_Forename runat="server" cssclass="flat"></asp:textbox> Affleck there are 10 types of people in this world those who understand binary, and those who don't.
Jun 30, 2006 Thread starter #3 Ator Programmer Jan 23, 2006 26 SE Sorry, I forgot to say that Im working with Windows Forms, not asp.net Upvote 0 Downvote