Solved

VB ASP.NET "CUSTOM CONTROL" REQUIRED FIELD VALIDATOR

Posted on 2013-06-14
1
544 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
jorge_toriz earned 500 total points
ID: 39253769
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What are MicroServices? 4 67
SSIS - Using VB.NET to parse XML file 11 40
Adding Rows to Grid 4 31
dropdownlist in asp.net vb. 3 21
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

737 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