This is a migrated thread and some comments may be shown as answers.

Style of RadTextBox and RadComboBox

3 Answers 124 Views
SkinManager
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 2
Erik asked on 07 Jun 2011, 10:48 AM
Hi,

I'm having some problems with layout. I have a master form with script manager and formdecorator on it (set to all controls)
On a standard webform page, a master child, i have some RadTextboxes and RadComboboxes. 

Why is it that the RadTextbox has square corners and the combobox has round corners? (see image in att)

Skin Windows 7, VS2010, .NET 4, VB.NET.
All based on the "helpdesk application" example

Regards,

Erik

3 Answers, 1 is accepted

Sort by
0
Vasil Yordanov
Telerik team
answered on 09 Jun 2011, 12:28 PM
Hello Erik,

RadTextBox currently does not support rounded corners due to controls rendering restrictions. You can get rounded corners if you replace the RadTextBox controls with TextBox, and add RadInputManager to your page to keep the RadTextBox functionality. RadFormDecorator will then add rounded corners to the TextBoxes.

We are currently preparing compatibility sheet with a purpose to set a unified styling for all input type controls, no matter whether they will be with or without rounded corners. An issue that slows us is the backwards compatibility, that said we need to make sure that we will not break any customers' projects with any possible changes.

To further clarify - We cannot state that we will achieve cross-browser consistency, mainly due to specific browser restrictions. The idea is to get a consistent page on a cross-control stage, not on a cross-browser. So, if you have a page and open it in IE7 all controls should look the same, yet without rounded corners for example. In IE9 on the other hand all controls should also look the same and they should also have rounded corners.

These issues will be addressed as soon as Q3 2011.

Yet, it is not clear from your question whether you want to have the controls with rounded corners or without, or you just want to have them consistent? In case you need further assistance, could you please open a support ticket with your requirements.

Greetings,
Vasil Yordanov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Erik
Top achievements
Rank 2
answered on 09 Jun 2011, 04:34 PM
Thanks Vasil,

I understand it's difficult, especially with cross-browser. I only want consistent controls, don't matter if the are round or not. I'm currently developing for IE7/8 and chrome...

how can I get the combo to straight corners then?
0
Vasil Yordanov
Telerik team
answered on 10 Jun 2011, 08:44 AM
Hi Erik,

In Windows 7 skin, the one that you are using, the ComboBox comes with rounded corners by design.

One option is to use another skin that is with straight corners - the Simple skin is such and you can easily customise it since the styling is achieved mainly with CSS.

Another option is to edit the sprite image of the Windows 7 ComboBox and make the corners straight. We could assist you with this, just open a support ticket.

Regards,
Vasil Yordanov
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
SkinManager
Asked by
Erik
Top achievements
Rank 2
Answers by
Vasil Yordanov
Telerik team
Erik
Top achievements
Rank 2
Share this question
or