CasCading DropDownList using Generic Handler and JQuery in Asp.net
ometimes we need to do fill dropdownlist using JQuery and Generic Handler in Asp.net
Explanation given below:
Design Page:
SELECT YOUR STATE
Generic Handler:
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "application/json";
int id = Convert.ToInt32(context.Request["id"]);
string sJSON = GetProduct(id);
context.Response.Write(sJSON);
}
public string GetProduct(int id)