I need to show a pop up window based on the Text property of a button?
I set the btnBoxScore.Text in 
RowDataBound I have tried something like the below, but is giving jquery/javascript errors:
Is there any way to do this?
function ShowBoxScorePopUp(sender) { var theHtml; $(document).ready(function () { $('.dummyClass').click(function () { theHtml = $(this).html(); // alert(theHtml); }); }); if (theHtml.indexOf("Makeup Game") >= 0) { popupBoxScore.Show(); } } <dx:ASPxButton ID="btnBoxScore" runat="server" Text="Box Score" CssClass="dummyClass" OnCommand="btnBoxScore_Command" CommandArgument='<%#Eval("GAM ...

Go to the complete details ...