Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: ValidatorCalloutExtender [27564]

$
0
0
I previously had multiple ValidatorCalloutExtenders targeting several RequiredFileValidators working correctly within my application.

I re-installed the latest version of the AjaxControlToolkit and now none of them are firing properly.

I have several other toolkit controls that work perfectly fine, but it appears the ValidatorCalloutExtendor is the only one not being displayed. I can also see the required field validator is working properly because the for will not submit as would be expected when the field is empty.

Here is a sample of one of the controls in question:

```
<asp:RequiredFieldValidator ID="RequiredLogin" runat="server" ErrorMessage="***Please enter a Login" ControlToValidate="txtUserLogin" ValidationGroup="UserLogin" CssClass="validationControl" Display="None"></asp:RequiredFieldValidator>
<ajax:ValidatorCalloutExtender ID="RequiredLogin_ValidatorCalloutExtender" runat="server" Enabled="True" TargetControlID="RequiredLogin" >
</ajax:ValidatorCalloutExtender>
```

I have looked across the internet and am at a loss as to why this is happening. Any help you can provide would be greatly appreciated.

Thanks!

Sean

Comments: Same problem here. I think it has something to do with the new __unobtrusive validation__ in ASP.NET 4.5. When turned off, the callout extender works as expected. When turned on, the validator still works, but the callout extender does not show.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>