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

InnerWidth property for comboboc

4 Answers 58 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
MrHoso
Top achievements
Rank 1
MrHoso asked on 21 May 2008, 02:11 PM
Hi,

I am using different third party component on my project. But we are not happy with it. And we want to replace this one with telerik. The other third party's combobox support the different width for combobox and it's items. 

http://img391.imageshack.us/my.php?image=innerwidthtg2.gif you can see the image. I have a Kpi combobox on the screen. And the width of the combobox is nearly 40px. But the items inside it nearly 300px.

Is it possible with RadComboBox ?

Regards,

Ahmet HOSO

4 Answers, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 21 May 2008, 02:28 PM
Hi Ahmet,

You can use the Width property of the RadComboBox to set the width of the input area and the DropDownWidth property to set the width of the dropdown area.

I hope this helps.

Greetings,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
MrHoso
Top achievements
Rank 1
answered on 22 May 2008, 07:42 AM
Hi Veskoni,

Thanks alot for your response. But something is wrong. I add a simple radcombobpx to my page   

<twu:RadComboBox ID="ddlPerNode" runat="server"  
Width="60" NoWrap="true" DropDownWidth="120" /> 

On the server side the code is like that

Dim AppSkin as String = "Vista" 
ddlPerNode.Skin = AppSkin   
ddlPerNode.Items.Add(New Telerik.Web.UI.RadComboBoxItem("", 0))
ddlPerNode.Items.Add(New Telerik.Web.UI.RadComboBoxItem("Per Node", 1))  
 

And you can see the result from the link. I don't want to see any scrollbar.


http://img388.imageshack.us/img388/9232/dropdownwidthve8.gif

Regards

Ahmet HOSO

0
MrHoso
Top achievements
Rank 1
answered on 23 May 2008, 01:32 PM
Hi,

I try to make something on css file but it didn't solve my problem

.RadComboBoxDropDown_Vista .rcbScroll  
{  
    overflow:hidden !important;    
0
Veselin Vasilev
Telerik team
answered on 26 May 2008, 12:36 PM
Hello MrHoso,

I tried to reproduce the problem but to no avail.

I added a combobox and used your settings, but I do not get any scrollbars.
Can you isolate the problem in a new page and send it to us in a new support ticket?

Regards,
Veskoni
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
MrHoso
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
MrHoso
Top achievements
Rank 1
Share this question
or