This topic is locked
[SOLVED]

 "No data yet."

5/8/2019 1:02:08 PM
ASPRunner.NET General questions
Pete K author

I need a way to replace the "No data yet." message that appears on a list page when no records are returned. I know how to do this globally, but I want to do it on a per-table/per-page basis. That message isn't very helpful in most contexts. Any ideas on how to accomplish this?

jadachDevClub member 5/8/2019

You can use this on javascript onload to hide the div

$("div[data-grid-message]").hide();
admin 5/8/2019

Or you can use the following in BeforeDisplay event:

xt.assign("message", "My message");
jadachDevClub member 5/8/2019



Or you can use the following in BeforeDisplay event:

xt.assign("message", "My message");



Ah, yes, much better <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=87753&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

Pete K author 5/9/2019



Or you can use the following in BeforeDisplay event:

xt.assign("message", "My message");



Perfect. Thank you Sergey.