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

GridViewComboBoxColumn - EmptyText

1 Answer 159 Views
GridView
This is a migrated thread and some comments may be shown as answers.
jholt
Top achievements
Rank 1
jholt asked on 28 Feb 2011, 12:23 AM
Hi,

Is there any way to get the same EmptyText property in a GridViewComboBoxColumn as there is in a RadComboBox?

Many thanks
Jeremy

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 28 Feb 2011, 08:02 AM
Hello jholt,

You may try to create a style targeting RadComboBox and set the EmptyText property:

<Window.Resources>
        <Style x:Key="MyStyle" TargetType="telerik:RadComboBox">
            <Setter Property="EmptyText" Value="MyEmptyText" />        
        </Style>
</Window.Resources>

Another possible approach may be to define a RadComboBox as a CellTemplate and set it EmptyText property.
However, if none of those is appropriate for you, please share a bit more information about the way you define the grid and the implementation of the business objects for the grid and the column. Generally, any relevant detail or code-snippet would be helpful.
 

Best wishes,
Maya
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
GridView
Asked by
jholt
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or