The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Error Provider Opinions

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Doug Thews

Posts: 866
Nickname: dougthews
Registered: Jul, 2003

Doug Thews is a software developer/manager for D&D Consulting Services with 18+ years of experience
Error Provider Opinions Posted: Aug 2, 2003 12:25 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Doug Thews.
Original Post: Error Provider Opinions
Feed Title: IlluminatiLand
Feed URL: http://apps5.oingo.com/apps/domainpark/domainpark.cgi?client=netw8744&s=JETBRAINS.COM
Feed Description: A technology blog for people enlightened enough to think for themselves
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Doug Thews
Latest Posts From IlluminatiLand

Advertisement
Am I the only one who doesn't like the way that the ErrorProvider is designed? IMHO, the ErrorProvider should be tied to a control (or possibly part of a custom control class, that can be overridden, when need be). But, this assignment to a initial control, then physical placement somewhere on the form (which should be standardized as part of the control that it's assigned to), then once again invoking the provider, only to have to tell it the control again seems very redundant.

What I'd like to see is something similar to the way ASP.NET does it - just a more robust. Each instantiated control can implement an ErrorProvider interface. The control maker gives some control, but the mundane details should be hidden. You should be able to bubble up your own events that will ultimately return a Yes/No answer as to whether the field has en error. And no more of this need to keep passing the control around. The Error Provider should know who it is assigned to.

I'm sure there are a wide range of opinions on this. Please speak your mind.

Read: Error Provider Opinions

Topic: I might miss Winnipeg, but I think I've moved to a cooler place... Previous Topic   Next Topic Topic: Open With (or, another great hidden feature revealed)

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use