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

Settings the NoDetailRecordsText For The Child Grid

2 Answers 96 Views
FileExplorer
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 08 Apr 2010, 06:24 PM
Im trying the following, but it doesnt take.  How do I set the text for what is shown when there are no files to view in the FileExplorer?

RadFileExplorer1.Grid.MasterTableView.NoDetailRecordsText = "Upload files using right mouse click or the upload button."

2 Answers, 1 is accepted

Sort by
0
Accepted
Dobromir
Telerik team
answered on 09 Apr 2010, 04:26 PM
Hi Marc,

In order to set a text template for the MasterTableView you need to set the NoMasterRecordsText property, e.g.:
RadFileExplorer1.Grid.MasterTableView.NoMasterRecordsText = "<div style=\"width:300px;height:30px;margin:0 auto;line-height: 30px;text-align:center;background-color:lime;border:2px solid red;color:red;font-weight:bold;\">There are no files or folders in this container</div>";

I hope this helps.

Sincerely yours,
Dobromir
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Marc
Top achievements
Rank 1
answered on 09 Apr 2010, 05:30 PM
That worked, thanks!
Tags
FileExplorer
Asked by
Marc
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Marc
Top achievements
Rank 1
Share this question
or