T
tshad
How do you set the Page.IsValid property manually?
I need to check if a bunch of radio buttons are set and if none are I want
to display a message that you need to select one.
I just have a ValidateButtons routine that I call when a button is pushed
and it will set a message on the page if none of the buttons are pressed and
I want to set the IsValid property of the page so that my Page.IsValid test
in my submit function will know that there was a validation error.
You can't set it like:
Page.IsValid = false
as that is a readonly property.
Thanks,
Tom
I need to check if a bunch of radio buttons are set and if none are I want
to display a message that you need to select one.
I just have a ValidateButtons routine that I call when a button is pushed
and it will set a message on the page if none of the buttons are pressed and
I want to set the IsValid property of the page so that my Page.IsValid test
in my submit function will know that there was a validation error.
You can't set it like:
Page.IsValid = false
as that is a readonly property.
Thanks,
Tom