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

telerik:RadComboBox

6 Answers 129 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Vijay
Top achievements
Rank 1
Vijay asked on 29 May 2013, 07:50 AM
I placed 'telerik:RadComboBox' inside of <table><tr><td>.
Its not getting displayed/rendring properly. Edges are not 100% accurate.
<div><table><tr><td><telerik:RadComboBox runat="server" ID="radCmb1" HighlightTemplatedItems="true"                                      Width="220px"><ItemTemplate><asp:CheckBox runat="server" ID="FlagCheckBox" onclick="some(event);"                                                Text="" /><%# DataBinder.Eval(Container.DataItem, "somedata")%></ItemTemplate></telerik:RadComboBox></td></tr></table></div>



But, when i place outside of <table>, its rendring prpperly                   
<div><telerik:RadComboBox runat="server" ID="radCmb1" HighlightTemplatedItems="true"         Width="220px"><ItemTemplate><asp:CheckBox runat="server" ID="FlagCheckBox" onclick="some(event);"Text="" /><%# DataBinder.Eval(Container.DataItem, "somedata")%></ItemTemplate></telerik:RadComboBox></div

Problem here is , i can't place ouside of TD.
Please help me out on this ASAP.
Thanks in advance!!!!

6 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 03 Jun 2013, 07:04 AM
Hello Vijay,

I have performed some test, based on the provided code snippet, but I was unable to replicate the described issue. Here is a video, demonstrating the behavior at my end. Please correct me, if I had missed something. In addition, would you specify which version of our controls are you using and under which browser you had encountered the problem?

Regards,
Nencho
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Vijay
Top achievements
Rank 1
answered on 03 Jun 2013, 10:16 AM
First of all, thanks for your response .
Version : 2010.3.1317.35
Runtime version:v2.0.50727

I missed out few lines at my initial post.Actually the problem here is , i applied some CSS for the main table.CSS contains padding details.The main table has numerous TD. All TD requires this padding settings.
It is applied for all TD of the main table, including TD which contains telerik:RadComboBox .
CSS -
#Firsttable td
{
    padding-left: 5px ;     padding-top: 2px;     padding-bottom: 2px;
    color: #202C5E;
    background-color: Gray;
}
 
 
<div><table id="Firsttable"><tr><td><telerik:RadComboBox runat="server" ID="radCmb1" HighlightTemplatedItems="true"                                      Width="220px"><ItemTemplate><asp:CheckBox runat="server" ID="FlagCheckBox" onclick="some(event);"                                                Text="" /><%# DataBinder.Eval(Container.DataItem, "somedata")%></ItemTemplate></telerik:RadComboBox></td></tr></table></div>


Even though i override padding details at child level [TD which contains telerik:RadComboBox ], still issue is coming.
Please help me out on this ASAP.

Thanks in advance!!!!

-VJ
0
Nencho
Telerik team
answered on 06 Jun 2013, 07:39 AM
Hello Vijay,

I was able to reproduce the experienced issue. The reason for the problem is that you use too strong selector to style the table, which reflects as a problematic rendering. I would suggest you to set a class to the Table and apply  the desired styles. Here is a video, demonstrating the behavior at my end, when the above suggestion is implemented.

Regards,
Nencho
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Vijay
Top achievements
Rank 1
answered on 06 Jun 2013, 07:51 AM
Thanks man!!!

Please share the alternate code/styles , that you tried to resolve this issue.
 I am not to view this video , due to some security restrictions.

Thanks in advance!!!!
0
Nencho
Telerik team
answered on 10 Jun 2013, 07:46 AM
Hello Vijay,

For your convenience, I am sending you a sample page, demonstrating the suggested implementation.

Hope this would help.

Regards,
Nencho
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Vijay
Top achievements
Rank 1
answered on 10 Jun 2013, 09:14 AM
Great !!!!!!!!!!!Thanks Man!!!!!!!!!!!
Tags
ComboBox
Asked by
Vijay
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Vijay
Top achievements
Rank 1
Share this question
or