This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var buttonConfirmed = false; | |
$(function(){ | |
$("[data-confirm]") | |
.each(function () { | |
var $btn = $(this) | |
.click(function(e) { | |
var btn = this; | |
if (buttonConfirmed) { | |
buttonConfirmed = false; | |
return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="do-after-load.ascx.cs" Inherits="controls.DoAfterLoad" %> | |
<asp:UpdatePanel runat="server" UpdateMode="Always"> | |
<ContentTemplate> | |
<asp:HiddenField runat="server" ID="DoAfterLoadJavaScriptHiddenField" /> | |
</ContentTemplate> | |
</asp:UpdatePanel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<asp:Literal runat="server" Text='<%#Eval("sub_total", "{0:f2}")%>'></asp:Literal> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<asp:Label runat="server" AssociatedControlID="userName">User Name</asp:Label> | |
<asp:TextBox runat="server" ID="userName"></asp:TextBox> |