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

Closed Issue: ValidationCallOutExtender problem [17289]

$
0
0
Hi there

Im having an intersting time trying ttrack down the culprit to a problem im having with the ajax control toolkits validationcalloutextender

In summary what im trying to do is enable our entire site to use the calloutextender on all validation controls. To do this i am dynamically scrapping the page at prerender, pulling out all the standard asp.net validation controls, creating a new callot extender based on the validation control and injecting it into the particular validation controls parent control collection.

If i use the calloutextender on a standard page with the sites master page with nothing special. ie a page with a few textboxes, drop downs, listboxes, check list controls etc.
The page has a few validation controls on it that need extending. The class i wrote that gets called on the basepage prerender does a fine job of extending all the controls.

The problem arises when you have a fully dynamic page with several types of controls in them.
A particular page contains a table whos rows are runat server, showing and hiding sections.
Also containing asp views.
The problem specifically boils down to on submit, the validation runs correctly and shows the validation control but does not get the positioning correct. it appears that if you scroll the page down, then submit the page, the control appears up above the target control to be validated by the same amount you have scrolled down by.

I cannot figure out where the problems is. The closest i have come so far to finding someone with a similar problem is here http://www.aspnet.sk/Forum/ValidatorCalloutExtender-3679.aspx

the question is also, if the subroutine was adjusted then for those pages with basic controls on would the reverse occur, by that i mean would the validation control appear below the target control by the same amount you have scrolled down.

This is very much a strange bug

any takers on helping to solve?

cheers
Andre
Comments: Workaround found, see comments.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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