Ask a Question related to ASP.NET Building Controls, Design and Development.
-
paul.hester@gmail.com #1
Validation before or after CreateChildControls
Hi all,
I have a composite control which is basically a wrapper control for
child controls and validators. It's a little hacky, but I could
previously check from its child validators to see whether the child
controls have passed validation to determine the colors and images to
display.
This was working perfectly previously, but now it appears that
validation is occuring after CreateChildControls. I don't know what I
changed to break this, but it makes the display logic for the custom
container control a lot more complicated.
Do any of you know how to ensure that CreateChildControls occurs after
validation? I've tried calling Page.Validate() separately, but that
appears to require CreateChildControls to complete.
Thanks,
Paul
paul.hester@gmail.com Guest
-
CFFORM Validation trumping Custom Form Validation
Is there any way for custom form validation to work in concert with the cfform validation? I have a custom script that compares the values of two... -
CreateChildControls not being called
Has anybody ever seen a situation in a custom control where CreateChildControls is not being called? I've set a break point in the method and it is... -
CreateChildControls?
Hi. I have an HTML page were I load controls dynamically. So I overwrote the CreateChildControl but I found some problem. First time when page... -
validation summary doesnt display when there's client-side validation
I have a custom validator that validates a numeric field, txtField, that allows for thousand separators. I also placed a validation summary so... -
only custom validation control does server side validation?
On a CustomValidator you have to provide the validation code because otherwise it doesn't know what to do for the validation. Other validator...



Reply With Quote

