In Joe Stagner's video explaining how to utilize HTTP GET and POST techniques to retrieve existing page based content from a server, he explicitly says that it's possible to fetch .ASCX files. However, I'm pulling my hair out trying to accomplish this. I keep getting errors and they seem to have somthing to do with trying to request an .ascx file from outside the confines of an actual .aspx page. My usercontrol is very simple containing only one label that displays the current time on the server.
Error I'm getting ...
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
Javascript i'm trying ...
displayElement = $get("globalReferences" Go to the complete details ...