I've created a web method to delete a user, which I'm trying to call from JavaScript. However, it doesn't seem to be working as expected. I am passing the selected index value from a listbox within a user control to my web method. Despite looking for solutions on multiple websites, I haven't been able to find one that works. There are no error messages being displayed, and everything else appears to be functioning properly. I even attempted to call the function from a public sub in the code behind, but still had no luck. Any suggestions or advice would be greatly appreciated!
<%@ Page Language="VB" AutoEventWireup="false" ClientIDMode="Static" CodeFile="Edit.aspx.vb" Inherits="_Default" %><%@ Register src="AdminEdit.ascx" tagname="AdminEdit" tagprefix="uc1" %>
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>
...