Style of RadTextBox and RadComboBox

4 posts, 0 answers
  1. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 07 Jun 2011 Link to this post

    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
  2. Vasil Yordanov
    Admin
    Vasil Yordanov avatar
    43 posts

    Posted 09 Jun 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 09 Jun 2011 Link to this post

    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?
  5. Vasil Yordanov
    Admin
    Vasil Yordanov avatar
    43 posts

    Posted 10 Jun 2011 Link to this post

    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.

Back to Top