currently I have this set up by adding this line in the Page_Load
But if the page is not valid I don't want to call this client side function. As it is now the 'ShowRunningDialog' is obviously going to be called no matter what
Was that what you meant?
Please Mark As Answer posts that helped you.
"If we learn from our mistakes, I should be brilliant by now."
Duh. Perfect. Thanks.