It is currently Fri Dec 01, 2023 6:06 pm
by kmteetsa » Mon Jun 26, 2023 5:47 pm
May I know how to show extra messages/text comment when search no records found?
by MichaelG » Tue Jun 27, 2023 7:46 am
You can check for TotalRecords and add a message if necessary in the Page_Render server event of the list page. For example:
if (TotalRecords <= 0)
WarningMessage = "...";
by kmteetsa » Thu Jul 13, 2023 4:34 pm
What if I have two Ext. Search under AND condition and the TotalRecords meant zero search results from the default value.
I am still not able to get TotalRecords from Page_Render. Would you mind giving me more clues on the script?
by MichaelG » Fri Jul 14, 2023 7:42 am
You can add codes to show TotalRecords in Page_Render. For example:
WarningMessage = "Total records: " + Convert.ToString(TotalRecords);
You can also run your project with Visual Studio so that you can add a break point to the codes to see why it is not working.
Return to “General Discussion (ASP.NET Maker)”