I have a hyperlinkfield in the gridview. when i click on that it take some time to redirect to other page, during that time i want to intimate the user with a "pleasewait " message using javascript.

I have written a script for that and i want to call it in hyperlinkfield.
I tired using DataNavigateUrl FormatString="j avascript:varwi n=window.open(' Detail.aspx?mop Id={0}');" but it doesnt work

Here is...