Public Function fnConfirmation(ByVal page, ByVal message) fnConfirmation = "" Dim sb As New System.Text.StringBuilder() sb.Append("return confirm('") sb.Append(message) sb.Append("');") page.page.ClientScript.RegisterOnSubmitStatement(page.GetType(), "alert", sb.ToString()) Return fnConfirmation End Function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)