Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Please can you tell me where Power tool created the controller. Code generation is working fine but I can seem to find the controller in order to add some custom code. Thanks
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
When I click on the same "Set as read" in the notification, the notification count keeps dropping and even reading negative. I suggest that a single notification's "Set as read" action should only mark that notification as read and possibly get disabled. And when I go to view all notifications and delete all notifications the count does not update automatically
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
I am trying to replicate the user excel upload for uploading contacts. I have successfully done every on the angular app and create all the service in the backend but for some reason the background task is not excecuting After investigation I realized this class is preventing the task from running
`` public class ContactsListExcelDataReader : NpoiExcelImporterBase<ImportContactsDto>, IContactListExcelDataReader { private readonly ILocalizationSource _localizationSource;
public ContactsListExcelDataReader(ILocalizationManager localizationManager)
{
_localizationSource = localizationManager.GetSource(CoreConsts.LocalizationSourceName);
}
public List<ImportContactsDto> GetContactsFromExcel(byte[] fileBytes)
{
return ProcessExcelFile(fileBytes, ProcessExcelRow);
}
private ImportContactsDto ProcessExcelRow(ISheet worksheet, int row)
{
if (IsRowEmpty(worksheet, row))
{
return null;
}
var exceptionMessage = new StringBuilder();
var contact = new ImportContactsDto();
try
{
contact.FirstName = GetRequiredValueFromRowOrNull(worksheet, row, 0, nameof(contact.FirstName), exceptionMessage);
contact.LastName = GetRequiredValueFromRowOrNull(worksheet, row, 1, nameof(contact.LastName), exceptionMessage);
// contact.Gender = (Gender)Enum.Parse(typeof(Gender), GetRequiredValueFromRowOrNull(worksheet, row, 2, nameof(contact.Gender), exceptionMessage));
worksheet.GetRow(row).Cells[3].SetCellType(CellType.String);
// contact.DateOfBirth = DateTime.Parse(GetRequiredValueFromRowOrNull(worksheet, row, 3, nameof(contact.DateOfBirth), exceptionMessage));
// contact.CountryCode = (Country) Enum.Parse(typeof(Country), GetRequiredValueFromRowOrNull(worksheet, row, 4, "Country", exceptionMessage));
worksheet.GetRow(row).Cells[5].SetCellType(CellType.String);
contact.MobileNumber = worksheet.GetRow(row).Cells[5]?.StringCellValue;
contact.Email = GetRequiredValueFromRowOrNull(worksheet, row, 5, nameof(contact.Email), exceptionMessage);
contact.Address = GetRequiredValueFromRowOrNull(worksheet, row, 6, nameof(contact.Address), exceptionMessage);
contact.Tag = GetRequiredValueFromRowOrNull(worksheet, row, 7, nameof(contact.Tag), exceptionMessage);
contact.Note = GetRequiredValueFromRowOrNull(worksheet, row, 8, nameof(contact.Note), exceptionMessage);
//contact.Tag = GetAssignedRoleNamesFromRow(worksheet, row, 6);
}
catch (System.Exception exception)
{
contact.Exception = exception.Message;
}
return contact;
}
private string GetRequiredValueFromRowOrNull(ISheet worksheet, int row, int column, string columnName, StringBuilder exceptionMessage)
{
var cellValue = worksheet.GetRow(row).Cells[column].StringCellValue;
if (cellValue != null && !string.IsNullOrWhiteSpace(cellValue))
{
return cellValue;
}
exceptionMessage.Append(GetLocalizedExceptionMessagePart(columnName));
return null;
}
private string[] GetAssignedRoleNamesFromRow(ISheet worksheet, int row, int column)
{
var cellValue = worksheet.GetRow(row).Cells[column].StringCellValue;
if (cellValue == null || string.IsNullOrWhiteSpace(cellValue))
{
return new string[0];
}
return cellValue.ToString().Split(':').Where(s => !string.IsNullOrWhiteSpace(s)).Select(s => s.Trim()).ToArray();
}
private string GetLocalizedExceptionMessagePart(string parameter)
{
return _localizationSource.GetString("{0}IsInvalid", _localizationSource.GetString(parameter)) + "; ";
}
private bool IsRowEmpty(ISheet worksheet, int row)
{
var cell = worksheet.GetRow(row)?.Cells.FirstOrDefault();
return cell == null || string.IsNullOrWhiteSpace(cell.StringCellValue);
}
}
``
Kindly help me fix this.
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
When I click on Message icon at the top right and then click on the profile icon next to it the profile slide does no show. The screen only deems slightly. Apparently the profile slide appears behind the message slide when the message slide is clicked first
The footer too stay on top of the menu items.
Fixed Header dowsn't seem to work for most Themes without side menue: ie: Theme 2, Theme4, Theme 5 ...
This message is not parsing the <strong> tag.
You are in Trial period for <strong>Pro</strong> edition, click here to purchase.
When I click on it take me to this url
http://localhost:62114/Payment/Buy?editionId=5&editionPaymentType=BuyNow
Which shows an error page.
My demo paypal account is properly set and working well.
This parameter is editionPaymentType=BuyNow is probably the source of the issue.
Kindly help resolve it.
I have set up invoice info in Host. I completed payment successfully But when I click on show invoice I get the error Invoice info is missing or not completed Kindly help.
Quick nav does not shrink when nav bar is minmized in default them. It stays hanging on top of the menu.
I have ASPNET Zero 8.1MVC.
I have build and deployed the app on a cloud VM.
Now I am getting "Error for site owner. Invalid domain for site key" when I try to sign a tenant up
I have created new Site key & secret key from google captcha and replace it in Appsettings.json under the MVC Layer.
But still I am not getting the captcha check box like it should be.
After I try to disable the recaptcha from settings, I get this error while creating a tenant: Error: No connection could be made because the target machine actively refused it. 127.0.0.1:25
Hope to hear from you soon.
Hi, I would like to know how to create and update features and most importantly how to set the functionalities under a feature. Thanks for your help