I'm currently utilizing geomap to visualize the location using the following code snippet:
function OnLoad() {
$.ajax({
type: "POST",
**url: "CS.aspx/CreateWorldMap"**,
data: '{}',
contentType: "application/json; charset=utf-8",
dataType: "json",
success: DrawWorldMap
});
}
Here, CS.aspx is an aspx page with a CreateWorldMap function. I'm seeking suggestions on how I can use a usercontrol in place of the aspx page within the URL property.
Due to the requirement of integrating this into an open-source site that only accepts usercontrols and not web pages, any advice or guidance would be greatly appreciated.
Thank you for your help.