We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

GenericDropdown with TreeView Control with Validation control

Thread ID:

Created:

Updated:

Platform:

Replies:

57378 Mar 2,2007 09:58 AM Mar 5,2007 12:46 PM ASP.NET Web Forms (Classic) 4
loading
Tags: Tools
Administrator [Syncfusion]
Asked On March 2, 2007 09:58 AM

Hi,

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.

Any help would be great!!

Thanks!!

Gokul B [Syncfusion]
Replied On March 2, 2007 09:34 PM

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





Administrator [Syncfusion]
Replied On March 3, 2007 09:51 AM

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!

Valli [Syncfusion]
Replied On March 5, 2007 05:07 AM

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.

http://websamples.syncfusion.com/samples/Tools.Web/4.4.0.51/F57378/main.htm

Please try running the sample and let me know if this helps you.

Regards,
Valli

Administrator [Syncfusion]
Replied On March 5, 2007 12:46 PM

Valli,

Thanks for the update and alternate solution.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;