Fill the field automatically #5488
Unanswered
sandhitya069
asked this question in
Help
Replies: 1 comment 3 replies
-
use City Change2select event in dialog.ts |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everyone,
i want to fill the state and country automatically when i select the city, but it's doesn't work
state and country still blank.
here my PersonRow.cs
`[DisplayName("City"), NotNull,
ForeignKey("[dbo].[City]", "Oid"),
LeftJoin("jCity"), TextualField("CityName")]
[LookupEditor(typeof(CityRow),
InplaceAdd = true),
LookupInclude]
public int? City
{
get { return Fields.City[this]; }
set { Fields.City[this] = value; }
}
here my PersonForm.cs
[Category("Address")] public string Address { get; set; } [HalfWidth] public string City { get; set; } [HalfWidth] public string State { get; set; } [HalfWidth] public string Country { get; set; } [HalfWidth] public int PostalCode { get; set; } [HalfWidth] public int Phone { get; set; } [HalfWidth] public int Fax { get; set; }
here my PersonColumn.cs
` [QuickFilter]
[Width(250)]
public string CityName { get; set; }
someone please tell me something to do
Beta Was this translation helpful? Give feedback.
All reactions