Re: Custom Validator
From: William F. Robertson, Jr. (wfrobertson_at_kpmg.com)
Date: 06/28/04
- Next message: Jason: "Re: Authentication problem for roles based"
- Previous message: VS_NET_DEV: "Popup window and authentication: URGENT Please!!"
- In reply to: Jim Heavey: "Custom Validator"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Jun 2004 16:00:20 -0500
Make sure you wired to the button click event and you don't have
AutoPostBack set on any of the TextBoxes, otherwise the Button will never
actually be "clicked" because the form will post before the click and it
will appear swallowed.
bill
"Jim Heavey" <JimHeavey@discussions.microsoft.com> wrote in message
news:E6A4A221-77EA-4C4A-8615-F6FD2EDE8B28@microsoft.com...
> I add a Custom Validator to my form and created a "server side" method
which I wanted to be invoked.
>
> When I run in debug mode, it comes to the routine as I expected, and it
passes the edit. I set the "e.IsValid" to true, but this does not seem to
trigger my button event which was pushed in the first place. I do not see
anything which this routine could have done to "clobber the button event".
So should my button event be triggered if I set the "e.IsValid" to true?
- Next message: Jason: "Re: Authentication problem for roles based"
- Previous message: VS_NET_DEV: "Popup window and authentication: URGENT Please!!"
- In reply to: Jim Heavey: "Custom Validator"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|