Click here to Skip to main content
15,915,600 members

Comments by codiagirl (Top 13 by date)

codiagirl 20-Dec-23 5:14am View    
it returns following error
User
System.NullReferenceException: 'Object reference not set to an instance of an object.'

ScoreCEO.WEB.Models.VM_CROPortalConfiguration.LogoModel.get returned null.
at
@Html.Partial("~/Views/LogoImage/UploadImage.cshtml",Model.LogoModel.LogoImageModels) in c# code it has values, but in client side it throws this error
codiagirl 20-Oct-23 14:05pm View    
codiagirl 20-Oct-23 14:04pm View    
Deleted
codiagirl 20-Oct-23 14:02pm View    
$(".PrintAllBtn").click(function (e) {
e.preventDefault();
var errorMessage = PrintLetter.CheckEmailValidation();
if (errorMessage == '') {
$('#customErrorDiv').hide();
PrintLetter.PrintAll();
}
else {
$('#customErrorDiv').find('ul').html(errorMessage);
$('#customErrorDiv').show();
}
});

$("#PrintAllBtn").on('dblclick', function (e) {
e.preventDefault();
});

codiagirl 20-Oct-23 13:36pm View    
so when user click on this button, it will print letter, if user select all checkbox button it will print letter, that's working, but if user has not selected any letter,then it will show alert "Please select any letter", so in case of alert message,I want to disable button immediately after one click. currently if I click double, it shows multiple alert messages,one after another