Hello,
I'de demonstrated that aspect on my blog post:
http://aspadvice.com/blogs/joteke/ar...n-ASP.NET.aspx
Basically you generate the needed javascript by instantiating a
PostBackOptions instance to which you set PerforemValidation and
ValidationGroup properties. Passing this instance to
Page.ClientScript.GetPostBAckEventReference will give you the needed js
call.
--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke http://teemukeiski.net
"Victor Rodriguez" <lasalsatx (AT) newsgroups (DOT) nospam> wrote
Quote:
I have a custom control that generates a toolbar but I need to find out how
can I register each one of the buttons to causevalidation when they're
clicked. All the buttons are <a><img /></a>. I know how to make them
postback already but not to cause validation.
Thanks,
Victor |