Howto use resource file (resx) strings in javascript alert messages

Basically, put the string in a HtmlInputHidden tag, and assign the hidden fields value in Page_Load event. Then you can utilize this field in client side using your javascript code.

another technique
ref: