C
Chris Kennedy
I am adding several controls dynamically in a composite control. Everytime I
add a control to the controls collection I increment an integer so I would
guess I know the where about the control is in the control collection.
I get the id of that control like this
validateid = Controls(ControlCounter).id
valrequired.ControltoValidate = validateid
Next I add a validate control. This causes my control to throw an error
The ControlToValidate property of '' cannot be blank.
I have also tried to uniqueid but I then get:
Unable to find control id 'CompControl1:_ctl2' referenced by the
'ControlToValidate' property of
Can anyone point me in the right direction, Chris.
add a control to the controls collection I increment an integer so I would
guess I know the where about the control is in the control collection.
I get the id of that control like this
validateid = Controls(ControlCounter).id
valrequired.ControltoValidate = validateid
Next I add a validate control. This causes my control to throw an error
The ControlToValidate property of '' cannot be blank.
I have also tried to uniqueid but I then get:
Unable to find control id 'CompControl1:_ctl2' referenced by the
'ControlToValidate' property of
Can anyone point me in the right direction, Chris.