Wrox Programmer Forums
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 11th, 2006, 08:45 AM
Registered User
Join Date: Apr 2006
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default User controls and validation

Goal: Combine radio group and drop down listbox. If option one of the radio group is selected, then require a selection from the drop down list box. If option 2 of the radio button is selected, disable the drop down listbox or ignore.

If I create a user control combining a radio group and a listbox can I validate values in both controls with the standard validation tools? E.g. checking that value from drop down listbox selected when option 1 of radio group selected.

I do not want to use custom validators because of difficulty getting the client side script to work with master pages.

Old October 11th, 2006, 01:25 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi

mm.. why is dificult the client script?? just don't writte in on the master page, write in the secondary page anywhere... it will work if you use an script tag...

if you create an user control, will it go from client to server on every click from the user??



Similar Threads
Thread Thread Starter Forum Replies Last Post
Validation controls and postback sdi126 ASP.NET 2.0 Basics 5 November 11th, 2007 12:08 PM
User controls' content: Chapter 2 User Controls AGS BOOK: Professional ASP.NET 2.0 Server Control and Component Development ISBN: 978-0-471-79350-2 10 July 26th, 2007 05:36 AM
Validation Controls andyj00 ASP.NET 1.0 and 1.1 Professional 3 June 9th, 2005 09:19 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.