The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I would like to use RequiredFieldValidator with the GenericDropDown with TreeView Combo control. In the RequiredFieldValidator, under the "control To Validate" property, I don't see my the GenericDropDown with TreeView Combo control name. I am dynamically filling the control tree.
GBGokul B Syncfusion Team March 3, 2007 02:34 AM UTC
Hi Rekha,
We are not clear in your query. We thought you are trying to validate the GenericDropDown using RequiredFieldValidator. If so, You cannot use all Web Form controls(not only Syncfusion controls) in conjunction with the validator controls other than textbox control. If this not a case could please update us with more information. It will helps us further investigation.
Let us know if you have any other queries.
Thanks for using Sycnfusion products.
Regards, Gokulkumar.B
ADAdministrator Syncfusion Team March 3, 2007 02:51 PM UTC
Hi Gokulkumar,
I have used RequiredFieldValidator with the dropdownlist control in ASP.NET pages and it works. I was wondering why the GenericDropDown control value is not shown under the controlToValidate property?
Is there anyother way to validate if not use javascript?
Thanks!
VAValli Syncfusion Team March 5, 2007 10:07 AM UTC
Hi Monica,
The RequiredField Validator functionality is not applicable to the 'GenericDropDown' control at present. I have filed a feature request which enables the 'RequiredField Validation' for the GenericDropDown control.
Meanwhile the below link is a work around sample, in which the 'RequiredField Validation' functionality is achieved through the javascript codings.