In my application I need to call aspx.cs method from javascript function call.
I tried this one in
Header My Javascript Function:
function MyHeader() {
PageMethods.BindHeaderGrid();
}
My code behined method:
[WebMethod]
public void BindHeaderGrid()
{
GrdHeader.DataSource = ds.Tables[0];
GrdHeader.DataBind();
}
But it is not call this function.
Dharmraj ThakurPosted May 23, 2017, 12:20 AM
Manas MohapatraPosted May 22, 2017, 8:56 AM