I have a class defined as follows:
public class Job
{
public int Id { get; set; }
public string Name { get; set; }
public string? Address { get; set; }
public string? City { get; set; }
public string? State { get; set; }
public string? ZIP { get; set; }
public double? Lat { get; set; }
public double? Long { get; set; }
public string? SpecialNotes { get; set; }
public DateTime? FinalizedDate { get; set; }
public string? Image { get; set; }
public string? Document { get; set; }
public string? Document2 { get; set; }
public string? Document3 { get; set; }
public string? JobType { get; set; }
public DateTime? Created { get; set; }
public DateTime? Updated { get; set; }
public int Creator { get; set; }
}
When I try to bind the Lat property to the SfTextbox, I receive an error stating that I cannot convert a double? to a string.
I tried using the SfNumericTextbox but need events to be triggered. The SfNumericTextbox would not fire the ValueChange event that is required or additional code to run.
Am I missing something?
Thanks!