Mei Ying [MVP]
Guest
|
Posted:
Fri Jan 07, 2005 6:15 pm Post subject:
Re: Server-side validation of HTML Placeholder Controls |
|
|
Thanks, Stefan
Yeah, I kinda figured that server-side validation, even if possible, would
go against the grain of the way the template file works... some console
buttons have to be re-programmed to work with postbacks, placeholders have
to be customized so that they "remember" the unsaved values, the page and
all placeholder values should not be saved and so on... that's a lot of work
to be done in order to achieve this one thing.
I think I may have found something - it may be possible to do it with
client-side javascripts instead. The available ASP.NET validators don't work
with the HTML Placeholder control so I've got to built one from the
BaseValidator class. Let's see how it goes :-)
--
regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Contact: meiyinglim@hotmail.com
---
"Stefan [MSFT]" <stefang@online.microsoft.com> wrote in message
news:%23WmHRyK9EHA.4028@TK2MSFTNGP15.phx.gbl...
| Quote: | Hi Mei Ying,
thats a little bit more complicated as the content is hosted inside the
ActiveX control dom.
The validation code either has to retrieve the content from there to
validate (not sure if this can be configured with the ASP.NET
validators) -
or you would need to implement the validation code on your own.
Most checks are simple to implement like is numeric or is not empty or
such
stuff.
Cheers,
Stefan.
"Mei Ying [MVP]" <anonymous@discussions.microsoft.com> wrote in message
news:099301c4f49c$26f718e0$a301280a@phx.gbl...
Hi
Does anyone know if it is possible to implement
validation on a HTML Placeholder Control?
regards
Mei Ying
---
Blog: http://meiyinglim.blogspot.com
Contact: meiyinglim@hotmail.com
---
|
|
|