Author: cboshdave | Posted on: 6/25/2009 1:40:56 PM | Views : 297

I have seen several examples of how to call a JavaScript alert from a web button.  I would like to call it from the following though:
if (dtEntry.Rows.Count == 0)
            {
               //Display JavaScript Alert("No data to display.");
            }
            else
            {
                GridViewEntry.DataSource = dtEntry;
                GridViewEntry.DataBind();
            }
Suggestions?

...

Go to the complete details ...