Click here to Skip to main content
15,903,201 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralMicrosoft Word and asp.net Pin
Michela7-Apr-03 3:39
Michela7-Apr-03 3:39 
Generalthread.woe Pin
OmegaSupreme4-Apr-03 4:55
OmegaSupreme4-Apr-03 4:55 
General.NET F ---> .NET CF / Problem with image Pin
blachzero4-Apr-03 3:52
blachzero4-Apr-03 3:52 
GeneralCookies management article (?) Pin
Tom Archer4-Apr-03 1:40
Tom Archer4-Apr-03 1:40 
Generalmodify xml web service method result Pin
Member 2684093-Apr-03 19:34
Member 2684093-Apr-03 19:34 
GeneralMore than one webservice Pin
roobee3-Apr-03 16:03
roobee3-Apr-03 16:03 
GeneralTransparent bitmap when dragging Pin
Jamie Nordmeyer3-Apr-03 11:11
Jamie Nordmeyer3-Apr-03 11:11 
GeneralDatabinding Errors Pin
DaAmazing13-Apr-03 10:34
DaAmazing13-Apr-03 10:34 
Little Background:

I have a customer class with 2 properties (FirstName and LastName). On the set of the FirstName property I have code that will not allow the name to be longer than 35 characters, if it is the property throws an exception. This works fine...

Here's the problem:
I have a textbox that I databind to the Customer Firstname property. This displays correctly and binds correctly. But when I enter a value that causes the Customer FirstName property to throw and exception I can't catch the exception and display a message to the user. Instead the textbox will not let me leave until it is fixed.

Is there a way to catch the exception that the underlying Class throws?

Mediajuggle - Design House Quality At Freelance Prices
http://www.mediajuggle.com

GeneralRe: Databinding Errors Pin
Jon Fitzgerald6-Apr-03 2:36
Jon Fitzgerald6-Apr-03 2:36 
GeneralRe: Databinding Errors Pin
DaAmazing16-Apr-03 5:07
DaAmazing16-Apr-03 5:07 
GeneralWeb Service Problem !!! Help !!! Pin
Sanjeev Kumar2-Apr-03 8:16
Sanjeev Kumar2-Apr-03 8:16 
GeneralRe: Web Service Problem !!! Help !!! Pin
abc2-Apr-03 8:26
abc2-Apr-03 8:26 
GeneralRe: Web Service Problem !!! Help !!! Pin
Daniel Turini2-Apr-03 8:47
Daniel Turini2-Apr-03 8:47 
GeneralRe: Web Service Problem !!! Help !!! Pin
Sanjeev Kumar2-Apr-03 9:02
Sanjeev Kumar2-Apr-03 9:02 
GeneralRe: Web Service Problem !!! Help !!! Pin
Daniel Turini2-Apr-03 9:44
Daniel Turini2-Apr-03 9:44 
General.Net portal Pin
Madhuri Mittal1-Apr-03 7:03
Madhuri Mittal1-Apr-03 7:03 
GeneralRe: .Net portal Pin
Paul Watson1-Apr-03 7:15
sitebuilderPaul Watson1-Apr-03 7:15 
GeneralRe: .Net portal Pin
Madhuri Mittal1-Apr-03 7:50
Madhuri Mittal1-Apr-03 7:50 
GeneralRe: .Net portal [clickety] Pin
Steve McLenithan1-Apr-03 7:44
Steve McLenithan1-Apr-03 7:44 
GeneralRe: .Net portal [clickety] Pin
Madhuri Mittal1-Apr-03 7:52
Madhuri Mittal1-Apr-03 7:52 
GeneralRe: .Net portal [clickety] Pin
Steve McLenithan1-Apr-03 7:54
Steve McLenithan1-Apr-03 7:54 
GeneralEventLogEntryType and EventLogTraceListener Pin
dvdmfr1-Apr-03 0:00
dvdmfr1-Apr-03 0:00 
GeneralCryptAcquireContext Pin
Raphael Amorim31-Mar-03 8:09
professionalRaphael Amorim31-Mar-03 8:09 
QuestionHow to implement a Remoting object which uses Activex control Pin
shokisingh31-Mar-03 0:17
shokisingh31-Mar-03 0:17 
AnswerRe: How to implement a Remoting object which uses Activex control Pin
neroknights3-Apr-03 9:52
neroknights3-Apr-03 9:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.