0
muhittincelik created
Hi,
I want to create an input form which includes combobox (combobox gets data from another table).
I tried to write code but failed.
Is there any example code ?
[Table("Stage_SQLHosts")] public class Stage_SQLHost : FullAuditedEntity<Guid> , IMayHaveTenant { public int? TenantId { get; set; }
[Required]
[StringLength(Stage_SQLHostConsts.MaxHostnameLength, MinimumLength = Stage_SQLHostConsts.MinHostnameLength)]
public virtual string Hostname { get; set; }
public virtual bool Track { get; set; }
public virtual InputSource InputSource { get; set; }
}
[Table("tbl_InputSources")] public class InputSource : FullAuditedEntity<Guid> , IMayHaveTenant {
public int? TenantId { get; set; }
[Required]
[StringLength(InputSourceConsts.MaxNameLength, MinimumLength = InputSourceConsts.MinNameLength)]
public virtual string Name { get; set; }
}
1 Answer(s)
-
0
Hi @muhittincelik,
You can take a look at "Tenant management" tab of Host Settings page. Login as host admin and go to settings page to see it. It contains a combobox as well.
If you cannot manage to do it, please share your project version (Angular or jQuery) and tried code with us and we will help you.
Have an answer to this question?
Log in
and write your answer.