CustomValidator does not accept RegisterStartupScript
From: Ricardo Maciel (mailboxrmaciel)
Date: 01/25/05
- Next message: SimonH: "Re: Simple problem with a Custom Validator"
- Previous message: David Jessee: "Re: LinkButton without Javascript???"
- Next in thread: Peter Blum: "Re: CustomValidator does not accept RegisterStartupScript"
- Reply: Peter Blum: "Re: CustomValidator does not accept RegisterStartupScript"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 Jan 2005 23:41:01 -0800
Hi,
I am using CustomValidator and want to keep the client-side function in a .js
file. I was unable to make this work with Page's RegisterStartupScript --
it produces 'jscript runtime error object expected'.
If I manually insert the function in the html form, the control works fine.
Is there a way to resolve this issue?
thanks,
Ricardo
- Next message: SimonH: "Re: Simple problem with a Custom Validator"
- Previous message: David Jessee: "Re: LinkButton without Javascript???"
- Next in thread: Peter Blum: "Re: CustomValidator does not accept RegisterStartupScript"
- Reply: Peter Blum: "Re: CustomValidator does not accept RegisterStartupScript"
- Messages sorted by: [ date ] [ thread ]