Hi
How to use Remote Validation at Client side if ID Exists or not. If exists then message should be displayed.
Thanks
Hi
How to use Remote Validation at Client side if ID Exists or not. If exists then message should be displayed.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Sachin SinghRank #66 · 26.2K reputationPosted Jun 16, 2021, 5:48 AM EDT
Sachin SinghRank #66 · 26.2K reputationPosted Jun 16, 2021, 5:18 AM EDT
Ramco RamcoRank #462 · 5.4K reputationPosted Jun 16, 2021, 5:25 AM EDT
Hi Sachin
I am suing Ado.net then what should be the code. Secondly how the Class will be accessed.
Below is the class
public class Location
{
//private string _isactive = "Y";
public Location()
{
}
[Key]
[Display(Name = "Id")]
public string Id { get; set; }
[Display(Name = "Description")]
[Required(ErrorMessage = "Location cannot be Blank. Max length should be less than or equal to 25"), MaxLength(25)]
public string Description { get; set; }
}
Thanks
Sachin SinghRank #66 · 26.2K reputationPosted Jun 16, 2021, 5:33 AM EDT
Ramco RamcoRank #462 · 5.4K reputationPosted Jun 16, 2021, 5:46 AM EDT