<asp:LinkButton Text="" ID="deleteImageButton" runat="server" CommandName="Delete" CssClass="deleteButton" OnClientClick='<%# "return ConfirmationMessage(" + Eval("event_name").ToString() + ");" %>' />
function ConfirmationMessage(eventType) { if (eventType != null && eventType != 'undefined') return confirm(eventType); }
OnClientClick='<%# Eval("event_name", "return ConfirmationMessage(\"{0}\");") %>'
<asp:linkbutton text="" id="deleteImageButton" runat="server" commandname="Delete" CssClass="deleteButton" OnClientClick="return ConfirmationMessage('<%# Eval("event_name")%>' )"</asp:linkbutton>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)