Solved

VB ASP.NET "CUSTOM CONTROL" REQUIRED FIELD VALIDATOR

Posted on 2013-06-14
1
537 Views
Last Modified: 2013-06-17
I want to create a custom control
with a gridview.

If a row is not selected, and validation is enabled for that control it should trigger
a required field validator on the parent form.

How should this custom control be programmed to trigger the CLIENT SIDE validation?
0
Comment
Question by:sparksolutions
1 Comment
 
LVL 15

Accepted Solution

by:
jorge_toriz earned 500 total points
Comment Utility
You could catch the "SelectedIndexChanged" event of your GridView and then set the value into a Hidden, then you can assign the validator to the Hidden
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now