Data Grid Search pop up if no records found.
I have a data grid with search button, I want to return “No data found” message/pop up if search don’t bring any record. Please provide with solution. Thank you in advance!!!
One solution is to do this in a workflow. Have the custom search button and call a workflow. In the workflow do the following
- Retrieve the data into a list by Xpath query matching the search criteria.
- Check the count of the list, if it is zero, display the message, else pass the object to the Listview on the page for display