The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
hi,
i am filling the gridcontrol from the data i get from the database. If i dont get any data from the database, i set the rowcount of the grid to "0" and i want to display a text in the client area of the grid as "No records found".
can anyone give me a solution for displaying a text in client area(empty space when only the header row is present) of the GridControl?
i dont want to bother the user by displaying a messagebox.
thanks & regards
shwetha
STstanleyj Syncfusion Team December 20, 2005 08:49 AM UTC
Hi Shwetha,
You can achieve this by deriving the grid and overriding the OnPaint method. In the override, call the baseclass, and then use e.Graphics.DrawString to draw the string. Here is a simple try.
Best regards,
Stanley