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

How can I set default text with GridFilterBehavior?

1 Answer 41 Views
GridView
This is a migrated thread and some comments may be shown as answers.
zhang
Top achievements
Rank 1
zhang asked on 02 Jun 2020, 10:25 AM
<telerik:RadWatermarkTextBox x:Name="SearchWatermarkTextBox" Text="{Binding SearchText}"/>
<telerik:RadGridView Name="GridView" behavior:GridFilterBehavior.TextBox="{Binding ElementName=SearchWatermarkTextBox}">

Here is the example code.I can set text in datacontext SearchText property.But when the window opened,I cant see the data without filtered,then the girdview's BusyIndicator has been shown.It looks not good. How to let BusyIndicator be shown when the window opened or let the window opened after data has been filtered?

Thanks

1 Answer, 1 is accepted

Sort by
0
zhang
Top achievements
Rank 1
answered on 02 Jun 2020, 10:28 AM

edit:I can see the data without filtered

sorry

Tags
GridView
Asked by
zhang
Top achievements
Rank 1
Answers by
zhang
Top achievements
Rank 1
Share this question
or