D
dancer
Using VB.net and ASP.net
At runtime I receive the error that MANY people receive who are using much
more complicated code than mine.
"Object reference not set to an instance of an object. "
I know WHY it's happening. It is when a selection is not made to a
RadioButtonList, so the item is = to nothing.
I have a RequiredFieldValidator, but the runtime error obviously shows
before the validator can act.
The advice given on this error is that "You are trying to use a reference
variable whose value is Nothing"
How can I make the RequiredFieldValidator work BEFORE this runtime error
occurs?
At runtime I receive the error that MANY people receive who are using much
more complicated code than mine.
"Object reference not set to an instance of an object. "
I know WHY it's happening. It is when a selection is not made to a
RadioButtonList, so the item is = to nothing.
I have a RequiredFieldValidator, but the runtime error obviously shows
before the validator can act.
The advice given on this error is that "You are trying to use a reference
variable whose value is Nothing"
How can I make the RequiredFieldValidator work BEFORE this runtime error
occurs?