M
MattB
I have a user control that gets dynamically added to a page. It has a
couple of validators that I programmatically set properties for. All of
this works, but my problem is:
When not in use, I make validators Visible property = False
But the validators still take up space on the page, shifting other
elements if they wrap, etc.
Can I just delete the validator control from the user control? I fished
around the me.Controls collection a little but couldn't see a way to do
it. If you have any suggestions, I'd love to hear them!
Thanks!
Matt
couple of validators that I programmatically set properties for. All of
this works, but my problem is:
When not in use, I make validators Visible property = False
But the validators still take up space on the page, shifting other
elements if they wrap, etc.
Can I just delete the validator control from the user control? I fished
around the me.Controls collection a little but couldn't see a way to do
it. If you have any suggestions, I'd love to hear them!
Thanks!
Matt