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

How to auto resize popup list in GridViewComboBoxColumn ?

3 Answers 119 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stanley
Top achievements
Rank 1
Stanley asked on 31 May 2012, 08:22 AM
Please refer the picture from attachment.

2 questions below...

1. How to auto resize popup list?
I want the popup list width greater than column width. 

2. How to display the full text when mouse over?
I need let the user know value before selecting.

I hope it can done.
Thanks in advance.

3 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Petrov
Telerik team
answered on 31 May 2012, 01:39 PM
Hi Stanley,

Thank you for writing.

I have attached an example project which demonstrates how to achieve your case. It measures each item in the drop down and changes the size of the popup to show the full text of each item.

I hope this will be useful for you. If you have further questions, I would be glad to help.

Kind regards,
Ivan Petrov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Stanley
Top achievements
Rank 1
answered on 05 Jun 2012, 03:32 AM
Hi Telerik Support,

Thank you.
How about question 2?
Is possible show full text in tooltips?
if I dont want to set auto resize.

0
Ivan Petrov
Telerik team
answered on 07 Jun 2012, 01:13 PM
Hi Stanley,

Thank you for writing back.

Excuse me for the omission in my previous post. To show a tool tip, you need a control which would act as an owner of the tool tip. In the case of the drop down editor it is an element and therefore it does not have mechanism for showing tooltips. In this case to show a tool tip, you will have to implement all the logic manually. 

I hope this will help. Should you have further questions, feel free to ask.

Regards,
Ivan Petrov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Stanley
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Stanley
Top achievements
Rank 1
Share this question
or