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.
Re: custom control
I'de demonstrated that aspect on my blog post:
PostBackOptions instance to which you set PerforemValidation and
ValidationGroup properties. Passing this instance to
Page.ClientScript.GetPostBAckEventReference will give you the needed js
AspInsider, ASP.NET MVP
"Victor Rodriguez" <firstname.lastname@example.org> wrote in message
>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.
RE: custom control
Thanks Teemu's input.
Since you're a MSDN subscriber, we're closely monitoring your posts.
Therefore I'm writing to ask if you need anything else in this question.
Thanks for using MSDN Managed Newsgroup support service!
Walter Wang (email@example.com, remove 'online.')
Microsoft Online Community Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
This posting is provided "AS IS" with no warranties, and confers no rights.
|All times are GMT. The time now is 06:29 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.