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

[Solved] Formatting display of rad controls

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Felician
Top achievements
Rank 1
Felician asked on 24 Apr 2009, 08:40 AM
Hi,

I'm new to telerik controls and so far my biggest problem is that I cannot make them display properly. I mean I'm setting css classes, setting manually the width/height and so on and they aren't displaying properly. Especially when it comes to displaying to 100% height or width (in which case usually at least on height the controls don't behave properly).

Also, when using Scheduler (only in IE 6/7, in Firefox it behaves almost properly) when adding a new schedule it moves its position overlapping other page components (and definitely doesn't abide to any rules regarding its containers).

Can you give me some links regarding on how to customize telerik controls? How to set widths/heights (in percentage)?

Thank you.

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 24 Apr 2009, 09:50 AM
Hello Felician,

Usually the height problems comes from the fact that when you have XHTML compliant page along with elements with height=100% it is necessary to include the following style in the page's head:

 <style type="text/css">  
    html, body, form  
    {  
       height: 100%;  
       margin: 0;  
       padding: 0;  
    }  
      
    </style> 

I am not quite sure what might cause problems with overriding CSS classes but I assume that a possible reason can be that your custom settings get overriden - in order to prevent this, I suggest to make sure that you have used the keyword !important which makes the priority of the setting higher.

I also recommend to examine the following section of our online help, which concerns customizing visual appearance of RadControls:

http://www.telerik.com/help/aspnet-ajax/controlling-appearance-overview.html

In case you still experience problems, the best way to proceed is to open separate support tickets for different products and to provide as much information as possible there - e.g. sample code, screenshots, sample reproduction demo, etc (in order to be able to attach files you should open a support ticket).

I hope that my explanations and suggestions are helpful and in case you need further assistance, do not hesitate to contact us again.


All the best,
Svetlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
General Discussions
Asked by
Felician
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or