Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > web usercontrol + delegates or specialised usercontrol base class

Reply
Thread Tools

web usercontrol + delegates or specialised usercontrol base class

 
 
info@record-play.com
Guest
Posts: n/a
 
      06-23-2006
Hi,

This is an implementation question / best practice question.

I have created a number of data input part-forms as usercontrols and
include these on complete form web pages as needed. The parent pages
provide the submit button and a validation summary. The usercontrols
have inputs and validators.

When the submit button is pressed on the parent is it better to:

- have the usercontrols listen for an event and validate and/or save
the data.
- or for the usercontrols to inherit a specialised base class
(inherited from usercontrol) that provides public methods for calling
save and validate for each part form?

TIA

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Base class method Need base class value Karan Rajput Ruby 2 12-22-2010 04:47 PM
base class public type (non template and template base class) Hicham Mouline C++ 1 04-20-2009 03:28 PM
Access of base class' private base class: qualification required, why Alf P. Steinbach C++ 6 09-03-2005 04:03 PM
Unix-type specialised distributions Dany P. Wu NZ Computing 6 03-30-2005 06:27 PM
MCSE or Specialised MCSE Stuart Mackie [MCP, MSP] MCSE 1 12-06-2004 04:34 PM



Advertisments