Showing posts with label validators. Show all posts
Showing posts with label validators. Show all posts

Monday, March 26, 2012

Ajax AutoCompleteExtender causing validators to fire

Hi,

I'm having a problem with validators firing whenever I select an item in a field extended with autocomplete (I guess pressing the enter key is trying to submit the form?). How can I get around this?

Thanks

The autocomplete extender does not stop the enter key event from propagating to the form which causes the validators to kick in. I think we would like to stop that and let the event propagate if an item has been selected. Could you please open a bug on this? Thanks.

Wednesday, March 21, 2012

AJAX and .net 3.0

Currently the latest release of AJAX (1.0) was missing the validators.dll. The initial message about this talked about a windows update which had not been released yet. Now I'm wondering if the latest framework (3.0) which is available now includes the validators.dll built into it. Anyone know? I didn't see anything about this yet.

^_^

Ajax release 1.0 is an "extension" to the .NET framework 2.0

.NET 3.0 is an overlay of .NET 2.0 including the Windows Foundation stuff, mainly used in Windows Vista - which includes the WPF, WCF, WCS, and WWF

There wont be Ajax validator dlls in the .net 3.0 framework.

I'm assuming you are speaking of the System.Web.Extensions.Validators exception that gets thrown when you try to use ajax 1.0 released version.

Take the <tagMappings> section in your web.config and comment it out.


Ok. Sounds great. 1 more reason not to go to vista. :P