"no data to display" text in gridview

1 Answer 17 Views
GridView
Patgat
Top achievements
Rank 2
Iron
Iron
Iron
Patgat asked on 12 Mar 2024, 03:11 PM

Hi all,

How do you modify (or prevent) the display default "no data to display" text in when no line or column is yet set up ?

All forum answers are very old an do not work anymore, nor gridview.ShowNoDataText = false;

Thanks

Patrick

1 Answer, 1 is accepted

Sort by
0
Nadya | Tech Support Engineer
Telerik team
answered on 13 Mar 2024, 01:21 PM

Hello, Patrick,

You can set the Text property of TableElement to an empty string if you want to show blank, or set it to any other text that is suitable for you:

this.radGridView1.TableElement.Text = string.Empty;

If you have any other questions do not hesitate to contact me.

Regards,
Nadya | Tech Support Engineer
Progress Telerik

A brand new ThemeBuilder course was just added to the Virtual Classroom. The training course was designed to help you get started with ThemeBuilder for styling Telerik and Kendo UI components for your applications. You can check it out at https://learn.telerik.com
Tags
GridView
Asked by
Patgat
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Nadya | Tech Support Engineer
Telerik team
Share this question
or