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

Change default 'No child records to display" to something else application wide

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
AJ
Top achievements
Rank 2
AJ asked on 04 Jun 2013, 02:06 AM
Is there a way that I can change the message 'No child records to display" application wide, perhaps in the web.config?

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 04 Jun 2013, 05:36 AM
Hello,

Please try with below code snippet.
<MasterTableView>
               <NoRecordsTemplate>
                   <%=ConfigurationManager.AppSettings["MyAttribute"]%>
               </NoRecordsTemplate>
<appSettings>
        <add key="MyAttribute" value="No record custom template comes here"/>



Thanks,
Jayesh Goyani
Tags
Grid
Asked by
AJ
Top achievements
Rank 2
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or