Sunday, April 30, 2023
Ajax form submit MVC
@using (Ajax.BeginForm("ApproveBatchCollectSheet", "CollectionSheet", new AjaxOptions { HttpMethod = "POST", UpdateTargetId = "result", OnComplete = "OnComplete" }))
@using (Ajax.BeginForm("Action", "ControllerName", new AjaxOptions { HttpMethod = "POST", UpdateTargetId = "result", OnComplete = "OnComplete" }))
{
<div class="modal-footer">
<button type="submit" tabindex="@maxTabIndex" class="btn btn-primary btn-approve-batch-cs"><i class="fa fa-check"></i> Collect</button>
<button type="button" tabindex="@maxTabIndex" id="btnCloseModal" class="btn btn-danger" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
</div>
}
<script>
function OnComplete(xhr, status, error) {
//alert(xhr.responseText);
$.alert.open(xhr.responseText);
$('#GlobalPopupModal').modal('toggle');
//reload grid data
CollectionSheetManager.GetCollectionSheetList();
}
</script>
Wednesday, April 26, 2023
Portfolio-KHALID
Flora Systems Ltd:
Vault management:
Vault Management is a built-in module of Flora Bank. At the beginning of the day, the vault officer pays cash to the teller for daily operation and receives the balance of the cash from the teller, and deposits to the vault at end of the day. The following are covered. Daily Cash Position in Vault Teller wise Cash Position Teller Wise Cash Received Register Auto Generate Cash Memo Cash Safe Register
Monday, April 10, 2023
Saturday, April 1, 2023
Delete last 3 Characters in SQL
DECLARE @String NVARCHAR(100)
SET @String = '12354851'
SELECT LEFT(@String, NULLIF(LEN(@String)-1,-1))
Screen Record
Windows Screen Record WindowsKey+ Alt + R Recording Starts.
-
https://jwt.io/ J SON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
-
public void ProcessOrder(int orderId, bool applyDiscount) { if(applyDiscount) { //Apply Discount to the order }...