I have a page that requires certain conditions to be met (eg. various tables that need certain data in them).
What am I trying to do is on PageLoad, check for the necessary dependancies and if not existing, popup/display a message before redirecting to the appropriate page. In the attached snippet, the redirect works, but the message is not displayed ( which according to what I've read it shouldn't be).
What should I be doing?
if ((int)sqlCommCheck.Parameters.Value > 1)
Response.Write("There are no Grade records. Please contact your Administrator.");