Base solution for your next web application
Open Closed

Combobox #5056


User avatar
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; }
	

}
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    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.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)